public static enum ByteBuddyPlugin.Dispatcher.ForLegacyGradle extends Enum<ByteBuddyPlugin.Dispatcher.ForLegacyGradle> implements ByteBuddyPlugin.Dispatcher<ByteBuddySimpleTask,ByteBuddySimpleTaskExtension>
ByteBuddyPlugin.Dispatcher.ForApi6CapableGradle, ByteBuddyPlugin.Dispatcher.ForLegacyGradle| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Class<ByteBuddySimpleTaskExtension> |
getExtensionType()
Returns the Byte Buddy extension type.
|
ByteBuddySimpleTaskConfiguration |
toAction(String name,
SourceSet sourceSet)
Creates a Byte Buddy task configuration.
|
ByteBuddySimpleTaskExtension |
toExtension(Project project)
Creates a Byte Buddy extension instance.
|
static ByteBuddyPlugin.Dispatcher.ForLegacyGradle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyPlugin.Dispatcher.ForLegacyGradle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyPlugin.Dispatcher.ForLegacyGradle INSTANCE
public static ByteBuddyPlugin.Dispatcher.ForLegacyGradle[] values()
for (ByteBuddyPlugin.Dispatcher.ForLegacyGradle c : ByteBuddyPlugin.Dispatcher.ForLegacyGradle.values()) System.out.println(c);
public static ByteBuddyPlugin.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 Class<ByteBuddySimpleTaskExtension> getExtensionType()
getExtensionType in interface ByteBuddyPlugin.Dispatcher<ByteBuddySimpleTask,ByteBuddySimpleTaskExtension>public ByteBuddySimpleTaskExtension toExtension(Project project)
toExtension in interface ByteBuddyPlugin.Dispatcher<ByteBuddySimpleTask,ByteBuddySimpleTaskExtension>project - The current Gradle project.public ByteBuddySimpleTaskConfiguration toAction(String name, SourceSet sourceSet)
toAction in interface ByteBuddyPlugin.Dispatcher<ByteBuddySimpleTask,ByteBuddySimpleTaskExtension>name - The name of the task.sourceSet - The source set being configured.