public static enum TaskFactory.Dispatcher.ForLegacyGradle extends Enum<TaskFactory.Dispatcher.ForLegacyGradle> implements TaskFactory.Dispatcher
TaskFactory.Dispatcher.ForApi49CapableGradle, TaskFactory.Dispatcher.ForLegacyGradle| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
create(TaskContainer tasks,
String name,
Class<? extends Task> type)
Creates a task of the supplied type within the supplied task container.
|
static TaskFactory.Dispatcher.ForLegacyGradle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskFactory.Dispatcher.ForLegacyGradle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskFactory.Dispatcher.ForLegacyGradle INSTANCE
public static TaskFactory.Dispatcher.ForLegacyGradle[] values()
for (TaskFactory.Dispatcher.ForLegacyGradle c : TaskFactory.Dispatcher.ForLegacyGradle.values()) System.out.println(c);
public static TaskFactory.Dispatcher.ForLegacyGradle 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 nullpublic Task create(TaskContainer tasks, String name, Class<? extends Task> type)
create in interface TaskFactory.Dispatchertasks - The task container to use.name - The name of the task to create.type - The type of the task to create.