public enum CodegenType extends Enum<CodegenType>
Enum Constant and Description |
---|
CLIENT |
CONFIG |
DOCUMENTATION |
OTHER |
SERVER |
Modifier and Type | Method and Description |
---|---|
static CodegenType |
forValue(String value) |
String |
toValue() |
static CodegenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodegenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodegenType CLIENT
public static final CodegenType SERVER
public static final CodegenType DOCUMENTATION
public static final CodegenType CONFIG
public static final CodegenType OTHER
public static CodegenType[] values()
for (CodegenType c : CodegenType.values()) System.out.println(c);
public static CodegenType 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 nullpublic static CodegenType forValue(String value)
public String toValue()
Copyright © 2018. All rights reserved.