public class SecondaryFile extends Object
Transform
.
A secondary input is part of the transform inputs and can be decorated to indicate if a change
to the input would trigger a non incremental Transform.transform(TransformInvocation)
.
callConstructor and Description |
---|
SecondaryFile(File secondaryInputFile,
boolean supportsIncrementalBuild) |
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Returns the file handle for this secondary input to a Transform.
|
boolean |
supportsIncrementalBuild()
Returns true if this secondary input changes can be handled by the receiving
Transform
incrementally. |
public SecondaryFile(File secondaryInputFile, boolean supportsIncrementalBuild)
public boolean supportsIncrementalBuild()
Transform
incrementally. If false, a change to the file returned by getFile()
will trigger
a non incremental build.public File getFile()