Package org.gradle.api.artifacts.transform

## Class ArtifactTransform

- java.lang.Object
- - org.gradle.api.artifacts.transform.ArtifactTransform

-     public abstract class ArtifactTransform
      extends Object

  Base class for artifact transformations.

  Implementations must provide a public constructor. The constructor may optionally be annotated with `Inject` and accept parameters. The following parameters are available:

  - `ArtifactTransformDependencies` parameter to receive the dependencies of the file to be transformed.
  - The objects provided to `ActionConfiguration.setParams(Object...)`.
  Since:
    3.4

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ArtifactTransform()` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `File` | `getOutputDirectory()` |
    `void` | `setOutputDirectory​(File outputDirectory)` |
    `abstract List<File>` | `transform​(File input)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ArtifactTransform

          public ArtifactTransform()

  - ### Method Detail

    - #### getOutputDirectory

          public File getOutputDirectory()

    - #### setOutputDirectory

          public void setOutputDirectory​(File outputDirectory)

    - #### transform

          public abstract List<File> transform​(File input)