public static enum AdmCodeGenerator.GenerateParameter extends Enum<AdmCodeGenerator.GenerateParameter>
Enum Constant and Description |
---|
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_LISTENER_PROPERTIES
Subscribe to code generation events.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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]public static final AdmCodeGenerator.GenerateParameter CODEGEN_EVENT_LISTENER_PROPERTIES
AdmCodeGenerator.CodegenListener
.
Not required
Default Empty Mappublic 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 nameNullPointerException
- if the argument is nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.