public enum ApiRootInterfaceStrategy extends java.lang.Enum<ApiRootInterfaceStrategy>
Enum Constant and Description |
---|
DO_NOT_GENERATE
Do not generate super interface for GraphQL operations.
|
INTERFACE_PER_SCHEMA
Generate multiple super-interfaces for each graphql file.
|
SINGLE_INTERFACE
Generate a single QueryResolver.java, MutationResolver.java, SubscriptionResolver.java for all graphqls
(in addition to separate interfaces for each query/mutation/subscription)
|
Modifier and Type | Method and Description |
---|---|
static ApiRootInterfaceStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiRootInterfaceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiRootInterfaceStrategy INTERFACE_PER_SCHEMA
public static final ApiRootInterfaceStrategy SINGLE_INTERFACE
public static final ApiRootInterfaceStrategy DO_NOT_GENERATE
public static ApiRootInterfaceStrategy[] values()
for (ApiRootInterfaceStrategy c : ApiRootInterfaceStrategy.values()) System.out.println(c);
public static ApiRootInterfaceStrategy 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