public enum ApiNamePrefixStrategy extends java.lang.Enum<ApiNamePrefixStrategy>
| Enum Constant and Description |
|---|
CONSTANT
Will take only the value of apiNamePrefix config option.
|
FILE_NAME_AS_PREFIX
Will take GraphQL file name as a prefix for all generated API interfaces + value of apiNamePrefix config option.
|
FOLDER_NAME_AS_PREFIX
Will take parent folder name as a prefix for all generated API interfaces + value of apiNamePrefix config option.
|
| Modifier and Type | Method and Description |
|---|---|
static ApiNamePrefixStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiNamePrefixStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiNamePrefixStrategy FILE_NAME_AS_PREFIX
public static final ApiNamePrefixStrategy FOLDER_NAME_AS_PREFIX
public static final ApiNamePrefixStrategy CONSTANT
public static ApiNamePrefixStrategy[] values()
for (ApiNamePrefixStrategy c : ApiNamePrefixStrategy.values()) System.out.println(c);
public static ApiNamePrefixStrategy 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