Package org.gradle.util
Class ClosureBackedAction<T>
java.lang.Object
org.gradle.util.ClosureBackedAction<T>
- Type Parameters:
T
- The action type.
- All Implemented Interfaces:
Action<T>
Deprecated.
Will be removed in Gradle 9.0.
This class is only here to maintain binary compatibility with existing plugins.
To apply a configuration (represented by a Groovy closure) on an object, use Project.configure(Object, Closure)
.
-
Constructor Summary
ConstructorsConstructorDescriptionClosureBackedAction
(Closure closure) Deprecated.ClosureBackedAction
(Closure closure, int resolveStrategy) Deprecated.ClosureBackedAction
(Closure closure, int resolveStrategy, boolean configurableAware) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.void
Deprecated.Performs this action against the given object.static <T> void
Deprecated.Deprecated.int
hashCode()
Deprecated.static <T> ClosureBackedAction<T>
Deprecated.
-
Constructor Details
-
ClosureBackedAction
Deprecated. -
ClosureBackedAction
Deprecated. -
ClosureBackedAction
Deprecated.
-
-
Method Details
-
of
Deprecated. -
execute
Deprecated. -
execute
Deprecated.Description copied from interface:Action
Performs this action against the given object. -
getClosure
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-