@ProviderType
public interface SchemaProvider
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getSchema(@NotNull org.apache.sling.api.resource.Resource r,
@Nullable String[] selectors)
Get a GraphQL Schema definition for the given resource and optional selectors
|
@Nullable @Nullable String getSchema(@NotNull @NotNull org.apache.sling.api.resource.Resource r, @Nullable @Nullable String[] selectors) throws IOException
r - The Resource to which the schema appliesselectors - Optional set of Request Selectors that can influence the schema selectionIOException - if the schema cannot be retrievedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.