Interface TransformParameters
-
- All Known Implementing Classes:
TransformParameters.None
public interface TransformParameters
Marker interface for parameter objects toTransformAction
s.Parameter types should be interfaces, only declaring getters for
Property
-like objects. All getters must be annotated with an input annotation likeInput
orInputFiles
. Normalization annotations such asPathSensitive
orClasspath
can be used as well. See the table of incremental build property type annotations for all annotations which can be used. Example:public interface MyParameters extends TransformParameters { @Input Property<String> getStringParameter(); @InputFiles ConfigurableFileCollection getInputFiles(); }
- Since:
- 5.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TransformParameters.None
Used forTransformAction
s without parameters.
-