Package org.gradle.api.artifacts.transform

## Interface TransformSpec<T extends TransformParameters>

- Type Parameters:
    `T` - The transform specific parameter type.

      @Incubating
      public interface TransformSpec<T extends TransformParameters>

  Base configuration for artifact transform registrations.
  Since:
    5.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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 Detail

    - #### getFrom

          AttributeContainer getFrom()

      Attributes that match the variant that is consumed.

    - #### getTo

          AttributeContainer getTo()

      Attributes that match the variant that is produced.

    - #### getParameters

          T getParameters()

      The parameters for the transform action.

    - #### parameters

          void parameters​(Action<? super T> action)

      Configure the parameters for the transform action.