Interface TransformSpec<T extends TransformParameters>
- Type Parameters:
T- The transform specific parameter type.
public interface TransformSpec<T extends TransformParameters>
Base configuration for artifact transform registrations.
- Since:
- 5.3
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()Attributes that match the variant that is consumed.The parameters for the transform action.getTo()Attributes that match the variant that is produced.voidparameters(Action<? super T> action) Configure the parameters for the transform action.
-
Method Details
-
getFrom
AttributeContainer getFrom()Attributes that match the variant that is consumed.- See Also:
-
getTo
AttributeContainer getTo()Attributes that match the variant that is produced.- See Also:
-
getParameters
T getParameters()The parameters for the transform action.When the transform action declares
TransformParameters.Noneas its parameters type, this returns theTransformParameters.Nonesingleton.- See Also:
-
parameters
Configure the parameters for the transform action.The action is invoked even when the transform action declares
TransformParameters.Noneas its parameters type; in that case it receives theTransformParameters.Nonesingleton.- See Also:
-