public static enum Context.OperationType extends Enum<Context.OperationType>
| Enum Constant and Description |
|---|
Mutation |
Query |
Source |
SourceList |
Subscription |
| Modifier and Type | Method and Description |
|---|---|
static Context.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.OperationType Query
public static final Context.OperationType Mutation
public static final Context.OperationType Source
public static final Context.OperationType SourceList
public static final Context.OperationType Subscription
public static Context.OperationType[] values()
for (Context.OperationType c : Context.OperationType.values()) System.out.println(c);
public static Context.OperationType 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–2020. All rights reserved.