@Internal public enum ProtoDartTaskName extends java.lang.Enum<ProtoDartTaskName> implements TaskName
Enum Constant and Description |
---|
copyGeneratedDart
Copies the Dart code generated from Protobuf from its temporary location to the
lib
directory. |
copyTestGeneratedDart
Copies the Dart code generated from Protobuf from its temporary location to the
test
directory. |
generateDartTestTypeRegistry
Creates the
types.dart file which contains type mapping for all the test Protobuf
types defined in this project. |
generateDartTypeRegistry
Creates the
types.dart file which contains type mapping for all the production
Protobuf types defined in this project. |
resolveImports
Rewrites the Dart source files generated from Protobuf with the resolved absolute imports.
|
Modifier and Type | Method and Description |
---|---|
static ProtoDartTaskName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtoDartTaskName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtoDartTaskName generateDartTypeRegistry
types.dart
file which contains type mapping for all the production
Protobuf types defined in this project.
Works only with the main
scope types.
public static final ProtoDartTaskName generateDartTestTypeRegistry
types.dart
file which contains type mapping for all the test Protobuf
types defined in this project.
Works only with the test
scope types.
public static final ProtoDartTaskName copyGeneratedDart
lib
directory.
Works only with the main
scope files.
public static final ProtoDartTaskName copyTestGeneratedDart
test
directory.
Works only with the test
scope files.
public static final ProtoDartTaskName resolveImports
public static ProtoDartTaskName[] values()
for (ProtoDartTaskName c : ProtoDartTaskName.values()) System.out.println(c);
public static ProtoDartTaskName 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