@ConsumerType
public interface SlingTypeResolver<T>
NAME_SERVICE_PROPERTY property
with a unique value that's matched with the corresponding @directive in the GraphQL Schema.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_SERVICE_PROPERTY
Defines the service registration property with which all
SlingTypeResolver services have to be registered. |
| Modifier and Type | Method and Description |
|---|---|
T |
getType(@NotNull SlingTypeResolverEnvironment e) |
static final String NAME_SERVICE_PROPERTY
SlingTypeResolver services have to be registered. The value should
be namespaced, with namespaces being delimited by the "/" character.@Nullable T getType(@NotNull @NotNull SlingTypeResolverEnvironment e)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.