ProtoDartTaskName

public enum ProtoDartTaskName implements TaskName

Names of Gradle tasks defined by the Spine Protobuf Dart plugin.

Entries

Link copied to clipboard

Creates the types.dart file which contains type mapping for all the production Protobuf types defined in this project.

Link copied to clipboard

Creates the types.dart file which contains type mapping for all the test Protobuf types defined in this project.

Link copied to clipboard

Copies the Dart code generated from Protobuf from its temporary location to the lib directory.

Link copied to clipboard

Copies the Dart code generated from Protobuf from its temporary location to the test directory.

Link copied to clipboard

Rewrites the Dart source files generated from Protobuf with the resolved absolute imports.

Functions

Link copied to clipboard
public static ProtoDartTaskName valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<ProtoDartTaskName> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Inherited functions

Link copied to clipboard
public abstract String name()
The value of the name.
Link copied to clipboard
public String path()
Obtains this task name as a path.