@Internal public enum ModelCompilerTaskName extends java.lang.Enum<ModelCompilerTaskName> implements TaskName
Enum Constant and Description |
---|
annotateProto
Annotates the Java sources generated from
.proto files the main scope. |
annotateTestProto
Annotates the Java sources generated from
.proto files the test scope. |
generateColumnInterfaces
Generates the helper types for declaring columns in the
main scope. |
generateRejections
Generates source code of rejections in the
main scope. |
generateTestColumnInterfaces
Generates the helper types for declaring columns in the
test scope. |
generateTestRejections
Generates source code of rejections in the
test scope. |
mergeDescriptorSet
Merges all the known type descriptors of the module into one in the
main scope. |
mergeTestDescriptorSet
Merges all the known type descriptors of the module into one in the
test scope. |
preClean
Additional cleanup task added to the Gradle lifecycle.
|
writeDescriptorReference
Creates the
desc.ref file containing the reference to the descriptor file(s) with
the known types. |
writePluginConfiguration
Creates the Protobuf compiler plugin configuration.
|
writeTestDescriptorReference
Creates the
desc.ref file containing the reference to the descriptor file(s) with
the known types. |
writeTestPluginConfiguration
Creates the Protobuf compiler plugin test configuration.
|
Modifier and Type | Method and Description |
---|---|
static ModelCompilerTaskName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelCompilerTaskName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelCompilerTaskName preClean
public static final ModelCompilerTaskName generateRejections
main
scope.public static final ModelCompilerTaskName generateTestRejections
test
scope.public static final ModelCompilerTaskName generateColumnInterfaces
main
scope.public static final ModelCompilerTaskName generateTestColumnInterfaces
test
scope.public static final ModelCompilerTaskName annotateProto
.proto
files the main
scope.public static final ModelCompilerTaskName annotateTestProto
.proto
files the test
scope.public static final ModelCompilerTaskName mergeDescriptorSet
main
scope.public static final ModelCompilerTaskName mergeTestDescriptorSet
test
scope.public static final ModelCompilerTaskName writePluginConfiguration
Works only with the main
scope.
public static final ModelCompilerTaskName writeTestPluginConfiguration
public static final ModelCompilerTaskName writeDescriptorReference
desc.ref
file containing the reference to the descriptor file(s) with
the known types.
Works only with the main
scope descriptors.
public static final ModelCompilerTaskName writeTestDescriptorReference
desc.ref
file containing the reference to the descriptor file(s) with
the known types.
Works only with the test
scope descriptors.
public static ModelCompilerTaskName[] values()
for (ModelCompilerTaskName c : ModelCompilerTaskName.values()) System.out.println(c);
public static ModelCompilerTaskName 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