public abstract class ArtifactTransform extends Object
Implementations must provide a public constructor. The constructor may optionally accept parameters, in which case it must be annotated with Inject. The following parameters are available:
ArtifactTransformDependencies parameter to receive the dependencies of the file to be transformed.ArtifactTransformSpec.getConfiguration().ActionConfiguration.setParams(Object...).A property annotated with Inject and whose type is ArtifactTransformDependencies will receive the dependencies of the file to be transformed.
 
A property annotated with PrimaryInput will receive the primary input location, which is the file or directory that the transform should be applied to.
 
A property annotated with Workspace will receive the workspace location, which is the directory that the transform should write its output files to.
| Constructor | Description | 
|---|---|
| ArtifactTransform() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| File | getOutputDirectory() | Returns the workspace location for this transform, which is the directory that the transform should write its output files to. | 
| void | setOutputDirectory(File outputDirectory) | |
| abstract List<File> | transform(File input) | Transforms the given primary input file or directory and returns the result. |