public enum ApiInterfaceStrategy extends java.lang.Enum<ApiInterfaceStrategy>
Enum Constant and Description |
---|
DO_NOT_GENERATE
Do not generate separate interfaces classes for GraphQL operation.
|
INTERFACE_PER_OPERATION
Generate separate interface classes for each GraphQL operation.
|
Modifier and Type | Method and Description |
---|---|
static ApiInterfaceStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiInterfaceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiInterfaceStrategy INTERFACE_PER_OPERATION
public static final ApiInterfaceStrategy DO_NOT_GENERATE
public static ApiInterfaceStrategy[] values()
for (ApiInterfaceStrategy c : ApiInterfaceStrategy.values()) System.out.println(c);
public static ApiInterfaceStrategy 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