public enum TypeDefinitionKind extends Enum<TypeDefinitionKind> implements Kind
| Enum Constant and Description |
|---|
DIRECTIVE |
ENUM |
INPUT_OBJECT |
INTERFACE |
OBJECT |
SCALAR |
SCHEMA |
UNION |
| Modifier and Type | Method and Description |
|---|---|
static TypeDefinitionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDefinitionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDefinitionKind SCALAR
public static final TypeDefinitionKind ENUM
public static final TypeDefinitionKind OBJECT
public static final TypeDefinitionKind INTERFACE
public static final TypeDefinitionKind SCHEMA
public static final TypeDefinitionKind UNION
public static final TypeDefinitionKind INPUT_OBJECT
public static final TypeDefinitionKind DIRECTIVE
public static TypeDefinitionKind[] values()
for (TypeDefinitionKind c : TypeDefinitionKind.values()) System.out.println(c);
public static TypeDefinitionKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.