Action (Gradle API 8.14) (original) (raw)
Interface Action
Type Parameters:
T
- The type of object which this action accepts.
All Known Subinterfaces:
[AttributeCompatibilityRule](attributes/AttributeCompatibilityRule.html "interface in org.gradle.api.attributes")<T>
, [AttributeDisambiguationRule](attributes/AttributeDisambiguationRule.html "interface in org.gradle.api.attributes")<T>
, [ComponentMetadataRule](artifacts/ComponentMetadataRule.html "interface in org.gradle.api.artifacts")
, [ComponentMetadataSupplier](artifacts/ComponentMetadataSupplier.html "interface in org.gradle.api.artifacts")
, [ComponentMetadataVersionLister](artifacts/ComponentMetadataVersionLister.html "interface in org.gradle.api.artifacts")
All Known Implementing Classes:
[ClosureBackedAction](../util/ClosureBackedAction.html "class in org.gradle.util")
, [ConfigureUtil.WrappedConfigureAction](../util/ConfigureUtil.WrappedConfigureAction.html "class in org.gradle.util")
Performs some action against objects of type T.
Method Summary
Modifier and Type
Method
Descriptionvoid
Performs this action against the given object.
Method Details
execute
void execute(T t)
Performs this action against the given object.
Parameters:
t
- The object to perform the action on.