Message - The message type.public interface GQLFieldProvider<Message extends net.morimekta.providence.PMessage<Message>>
| Modifier and Type | Method and Description |
|---|---|
net.morimekta.providence.descriptor.PMessageDescriptor<Message> |
getDescriptor()
Get the type descriptor this mutator is for.
|
Collection<net.morimekta.providence.descriptor.PField<Message>> |
getFields()
Get the set of fields that can be mutated with this mutator.
|
Object |
provide(Message message,
net.morimekta.providence.descriptor.PField<Message> field,
GQLField selection)
Mutate the message according to the field selection.
|
net.morimekta.providence.descriptor.PMessageDescriptor<Message> getDescriptor()
@Nonnull Collection<net.morimekta.providence.descriptor.PField<Message>> getFields()
Object provide(@Nonnull Message message, @Nonnull net.morimekta.providence.descriptor.PField<Message> field, @Nonnull GQLField selection)
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.