public class FieldFieldProvider extends Object implements GQLFieldProvider<net.morimekta.providence.graphql.introspection.Field>
| Constructor and Description |
|---|
FieldFieldProvider(GQLDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
net.morimekta.providence.descriptor.PMessageDescriptor<net.morimekta.providence.graphql.introspection.Field> |
getDescriptor()
Get the type descriptor this mutator is for.
|
Collection<net.morimekta.providence.descriptor.PField<net.morimekta.providence.graphql.introspection.Field>> |
getFields()
Get the set of fields that can be mutated with this mutator.
|
net.morimekta.providence.graphql.introspection.Type |
provide(net.morimekta.providence.graphql.introspection.Field message,
net.morimekta.providence.descriptor.PField<net.morimekta.providence.graphql.introspection.Field> field,
GQLField selection)
Mutate the message according to the field selection.
|
public FieldFieldProvider(@Nonnull GQLDefinition definition)
public net.morimekta.providence.descriptor.PMessageDescriptor<net.morimekta.providence.graphql.introspection.Field> getDescriptor()
GQLFieldProvidergetDescriptor in interface GQLFieldProvider<net.morimekta.providence.graphql.introspection.Field>@Nonnull public Collection<net.morimekta.providence.descriptor.PField<net.morimekta.providence.graphql.introspection.Field>> getFields()
GQLFieldProvidergetFields in interface GQLFieldProvider<net.morimekta.providence.graphql.introspection.Field>public net.morimekta.providence.graphql.introspection.Type provide(@Nonnull net.morimekta.providence.graphql.introspection.Field message, @Nonnull net.morimekta.providence.descriptor.PField<net.morimekta.providence.graphql.introspection.Field> field, @Nonnull GQLField selection)
GQLFieldProviderprovide in interface GQLFieldProvider<net.morimekta.providence.graphql.introspection.Field>message - The base message builder to be mutated.field - The source field requested.selection - The field selection to be filled or changed.Copyright © 2015–2020 morimekta.net. All rights reserved.