public static enum ObjectFactory.Dispatcher.ForLegacyGradle extends java.lang.Enum<ObjectFactory.Dispatcher.ForLegacyGradle> implements ObjectFactory.Dispatcher
ObjectFactory.Dispatcher.ForApi4CapableGradle, ObjectFactory.Dispatcher.ForLegacyGradle| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
newInstance(org.gradle.api.Project project,
java.lang.Class<?> type,
java.lang.Object... argument)
Returns a new instance of the supplied class by invoking a constructor or returns
null if the feature
is not available. |
static ObjectFactory.Dispatcher.ForLegacyGradle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectFactory.Dispatcher.ForLegacyGradle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectFactory.Dispatcher.ForLegacyGradle INSTANCE
public static ObjectFactory.Dispatcher.ForLegacyGradle[] values()
for (ObjectFactory.Dispatcher.ForLegacyGradle c : ObjectFactory.Dispatcher.ForLegacyGradle.values()) System.out.println(c);
public static ObjectFactory.Dispatcher.ForLegacyGradle 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@AlwaysNull
public java.lang.Object newInstance(org.gradle.api.Project project,
java.lang.Class<?> type,
java.lang.Object... argument)
null if the feature
is not available.newInstance in interface ObjectFactory.Dispatcherproject - The Gradle project to use.type - The type of the class to be instantiated.argument - The arguments to supply.null if the feature is not available.