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:
ActionConfiguration.setParams(Object...)
.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 input artifact file or directory and returns the result.
|