public static enum Introspection.DirectiveLocation extends java.lang.Enum<Introspection.DirectiveLocation>
Enum Constant and Description |
---|
ARGUMENT_DEFINITION |
ENUM |
ENUM_VALUE |
FIELD |
FIELD_DEFINITION |
FRAGMENT_DEFINITION |
FRAGMENT_SPREAD |
INLINE_FRAGMENT |
INPUT_FIELD_DEFINITION |
INPUT_OBJECT |
INTERFACE |
MUTATION |
OBJECT |
QUERY |
SCALAR |
SCHEMA |
SUBSCRIPTION |
UNION |
VARIABLE_DEFINITION |
Modifier and Type | Method and Description |
---|---|
static Introspection.DirectiveLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Introspection.DirectiveLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Introspection.DirectiveLocation QUERY
public static final Introspection.DirectiveLocation MUTATION
public static final Introspection.DirectiveLocation SUBSCRIPTION
public static final Introspection.DirectiveLocation FIELD
public static final Introspection.DirectiveLocation FRAGMENT_DEFINITION
public static final Introspection.DirectiveLocation FRAGMENT_SPREAD
public static final Introspection.DirectiveLocation INLINE_FRAGMENT
public static final Introspection.DirectiveLocation VARIABLE_DEFINITION
public static final Introspection.DirectiveLocation SCHEMA
public static final Introspection.DirectiveLocation SCALAR
public static final Introspection.DirectiveLocation OBJECT
public static final Introspection.DirectiveLocation FIELD_DEFINITION
public static final Introspection.DirectiveLocation ARGUMENT_DEFINITION
public static final Introspection.DirectiveLocation INTERFACE
public static final Introspection.DirectiveLocation UNION
public static final Introspection.DirectiveLocation ENUM
public static final Introspection.DirectiveLocation ENUM_VALUE
public static final Introspection.DirectiveLocation INPUT_OBJECT
public static final Introspection.DirectiveLocation INPUT_FIELD_DEFINITION
public static Introspection.DirectiveLocation[] values()
for (Introspection.DirectiveLocation c : Introspection.DirectiveLocation.values()) System.out.println(c);
public static Introspection.DirectiveLocation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null