@Immutable public class GQLIntrospection extends Object implements GQLSelection
__ are reserved for
introspection.
| Modifier and Type | Class and Description |
|---|---|
static class |
GQLIntrospection.Field
Introspeciton fields supported by providence-graphql.
|
| Constructor and Description |
|---|
GQLIntrospection(GQLIntrospection.Field field,
String alias,
net.morimekta.providence.PMessage<?> arguments,
List<GQLSelection> selectionSet) |
| Modifier and Type | Method and Description |
|---|---|
static GQLIntrospection.Field |
findFieldByName(String name)
Find introspection field by name.
|
String |
getAlias() |
net.morimekta.providence.PMessage |
getArguments() |
GQLIntrospection.Field |
getField() |
List<GQLSelection> |
getSelectionSet() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSelection, hasSelection, hasSelectionPathpublic GQLIntrospection(@Nonnull GQLIntrospection.Field field, @Nullable String alias, @Nullable net.morimekta.providence.PMessage<?> arguments, @Nullable List<GQLSelection> selectionSet)
field - Name of introspection field.alias - Introspection alias. Only possible / allowed
on root type introspection.arguments - Arguments for general introspection.selectionSet - The introspection selection set.public static GQLIntrospection.Field findFieldByName(String name)
name - The name of field to find.@Nullable public net.morimekta.providence.PMessage getArguments()
@Nonnull public GQLIntrospection.Field getField()
public List<GQLSelection> getSelectionSet()
getSelectionSet in interface GQLSelectionCopyright © 2015–2020 morimekta.net. All rights reserved.