Package | Description |
---|---|
graphql.schema.idl |
Modifier and Type | Method and Description |
---|---|
SchemaPrinterComparatorEnvironment |
SchemaPrinterComparatorEnvironment.Builder.build() |
SchemaPrinterComparatorEnvironment |
SchemaPrinterComparatorEnvironment.transform(Consumer<SchemaPrinterComparatorEnvironment.Builder> builderConsumer)
This helps you transform the current
SchemaPrinterComparatorEnvironment into another one by starting a builder with all
the current values and allows you to transform it how you want. |
Modifier and Type | Method and Description |
---|---|
<T extends GraphQLType> |
DefaultSchemaPrinterComparatorRegistry.Builder.addComparator(SchemaPrinterComparatorEnvironment environment,
Class<T> comparatorClass,
Comparator<? super T> comparator)
Registers a
Comparator with an environment to control its permitted scope of operation. |
<T extends GraphQLType> |
SchemaPrinterComparatorRegistry.getComparator(SchemaPrinterComparatorEnvironment environment) |
<T extends GraphQLType> |
DefaultSchemaPrinterComparatorRegistry.getComparator(SchemaPrinterComparatorEnvironment environment)
Search for the most to least specific registered
Comparator otherwise a default is returned. |
static SchemaPrinterComparatorEnvironment.Builder |
SchemaPrinterComparatorEnvironment.newEnvironment(SchemaPrinterComparatorEnvironment existing) |
Constructor and Description |
---|
Builder(SchemaPrinterComparatorEnvironment existing) |
Copyright © 2019. All rights reserved.