# 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:
  - `DependencyHandler.registerTransform(Class, Action)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AttributeContainer`
  `getFrom()`
  Attributes that match the variant that is consumed.
  `T`
  `getParameters()`
  The parameters for the transform action.
  `AttributeContainer`
  `getTo()`
  Attributes that match the variant that is produced.
  `void`
  `parameters(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:
      - `DependencyHandler.registerTransform(Class, Action)`

  - ### getTo

    AttributeContainer getTo()
    Attributes that match the variant that is produced.
    See Also:
      - `DependencyHandler.registerTransform(Class, Action)`

  - ### getParameters

    T getParameters()
    The parameters for the transform action.

    When the transform action declares `TransformParameters.None` as its parameters type, this returns the `TransformParameters.None` singleton.

    See Also:
      - `DependencyHandler.registerTransform(Class, Action)`

  - ### parameters

    void parameters(Action<? super T> action)
    Configure the parameters for the transform action.

    The action is invoked even when the transform action declares `TransformParameters.None` as its parameters type; in that case it receives the `TransformParameters.None` singleton.

    See Also:
      - `DependencyHandler.registerTransform(Class, Action)`