Package graphql.introspection
Enum Introspection.DirectiveLocation
- java.lang.Object
-
- java.lang.Enum<Introspection.DirectiveLocation>
-
- graphql.introspection.Introspection.DirectiveLocation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Introspection.DirectiveLocation>
- Enclosing class:
- Introspection
public static enum Introspection.DirectiveLocation extends java.lang.Enum<Introspection.DirectiveLocation>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
QUERY
public static final Introspection.DirectiveLocation QUERY
-
MUTATION
public static final Introspection.DirectiveLocation MUTATION
-
SUBSCRIPTION
public static final Introspection.DirectiveLocation SUBSCRIPTION
-
FIELD
public static final Introspection.DirectiveLocation FIELD
-
FRAGMENT_DEFINITION
public static final Introspection.DirectiveLocation FRAGMENT_DEFINITION
-
FRAGMENT_SPREAD
public static final Introspection.DirectiveLocation FRAGMENT_SPREAD
-
INLINE_FRAGMENT
public static final Introspection.DirectiveLocation INLINE_FRAGMENT
-
VARIABLE_DEFINITION
public static final Introspection.DirectiveLocation VARIABLE_DEFINITION
-
SCHEMA
public static final Introspection.DirectiveLocation SCHEMA
-
SCALAR
public static final Introspection.DirectiveLocation SCALAR
-
OBJECT
public static final Introspection.DirectiveLocation OBJECT
-
FIELD_DEFINITION
public static final Introspection.DirectiveLocation FIELD_DEFINITION
-
ARGUMENT_DEFINITION
public static final Introspection.DirectiveLocation ARGUMENT_DEFINITION
-
INTERFACE
public static final Introspection.DirectiveLocation INTERFACE
-
UNION
public static final Introspection.DirectiveLocation UNION
-
ENUM
public static final Introspection.DirectiveLocation ENUM
-
ENUM_VALUE
public static final Introspection.DirectiveLocation ENUM_VALUE
-
INPUT_OBJECT
public static final Introspection.DirectiveLocation INPUT_OBJECT
-
INPUT_FIELD_DEFINITION
public static final Introspection.DirectiveLocation INPUT_FIELD_DEFINITION
-
-
Method Detail
-
values
public static Introspection.DirectiveLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Introspection.DirectiveLocation c : Introspection.DirectiveLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Introspection.DirectiveLocation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-