public enum ApiNamePrefixStrategy extends java.lang.Enum<ApiNamePrefixStrategy>
| 枚举常量和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ApiNamePrefixStrategy |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ApiNamePrefixStrategy[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值