|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AdmCodeGenerator.GenerateParameter>
com.neeve.tools.AdmCodeGenerator.GenerateParameter
public static enum AdmCodeGenerator.GenerateParameter
Contains definitions of all parameters of code generator
Enum Constant Summary | |
---|---|
ABSOLUTE
Generate all files in output directory (instead of a namespace based directory structure relative to output directory). |
|
ADDITIONAL_COPY_DIRS
Additional locations where to copy model and idl files. |
|
BUILD_INFO
Build time information such as timestamp and machine being built on. |
|
CODEGEN_EVENT_LISTENERS
Subscribe to code generation events. |
|
EMPTY_IF_NULL_ARRAY
Instructs the code generator return empty arrays instead of null for unset array fields. |
|
INCREMENTAL_BUILD
Trigger incremental code generation - run only if something changed since last run. |
|
MODEL_URL
The input file, Required. |
|
MODELS_DIR
Base directory for the referenced files. |
|
NAMESPACE
Namespace of model parsed from the input file (overrides namespace in model file if supplied). |
|
OUT_DIR
Base out directory for the generated files. |
|
PROTO_DIR
Additional directory in which to search for imported .proto files. |
|
XPCOMPAT
Wire compatibility between protobuf and xbuf generated classes. |
Method Summary | |
---|---|
static AdmCodeGenerator.GenerateParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AdmCodeGenerator.GenerateParameter[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AdmCodeGenerator.GenerateParameter MODEL_URL
public static final AdmCodeGenerator.GenerateParameter MODELS_DIR
public static final AdmCodeGenerator.GenerateParameter OUT_DIR
public static final AdmCodeGenerator.GenerateParameter XPCOMPAT
public static final AdmCodeGenerator.GenerateParameter EMPTY_IF_NULL_ARRAY
public static final AdmCodeGenerator.GenerateParameter NAMESPACE
public static final AdmCodeGenerator.GenerateParameter ABSOLUTE
public static final AdmCodeGenerator.GenerateParameter PROTO_DIR
public static final AdmCodeGenerator.GenerateParameter BUILD_INFO
public static final AdmCodeGenerator.GenerateParameter INCREMENTAL_BUILD
public static final AdmCodeGenerator.GenerateParameter ADDITIONAL_COPY_DIRS
public static final AdmCodeGenerator.GenerateParameter CODEGEN_EVENT_LISTENERS
AdmCodeGenerator.CodegenListener
.
Not required
Default CodegenListener[0]
Method Detail |
---|
public static AdmCodeGenerator.GenerateParameter[] values()
for (AdmCodeGenerator.GenerateParameter c : AdmCodeGenerator.GenerateParameter.values()) System.out.println(c);
public static AdmCodeGenerator.GenerateParameter valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |