CompatibilityAdapterForTaskInputs, TaskInputs, TaskPropertyBuilderpublic interface TaskInputPropertyBuilder extends TaskPropertyBuilder, TaskInputs
| Modifier and Type | Method | Description |
|---|---|---|
TaskInputFilePropertyBuilder |
dir(java.lang.Object dirPath) |
Deprecated.
Use
TaskInputs.dir(Object) directly instead. |
TaskInputFilePropertyBuilder |
file(java.lang.Object path) |
Deprecated.
Use
TaskInputs.file(Object) directly instead. |
TaskInputFilePropertyBuilder |
files(java.lang.Object... paths) |
Deprecated.
Use
TaskInputs.files(Object...) directly instead. |
FileCollection |
getFiles() |
Deprecated.
Use
TaskInputs.getFiles() directly instead. |
boolean |
getHasInputs() |
Deprecated.
Use
TaskInputs.getHasInputs() directly instead. |
boolean |
getHasSourceFiles() |
Deprecated.
Use
TaskInputs.getHasSourceFiles() directly instead. |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
Deprecated.
Use
TaskInputs.getProperties() directly instead. |
FileCollection |
getSourceFiles() |
Deprecated.
Use
TaskInputs.getSourceFiles() directly instead. |
TaskInputPropertyBuilder |
optional(boolean optional) |
Sets whether the task property is optional.
|
TaskInputs |
properties(java.util.Map<java.lang.String,?> properties) |
Deprecated.
Use
TaskInputs.properties(Map) directly instead. |
TaskInputPropertyBuilder |
property(java.lang.String name,
java.lang.Object value) |
Deprecated.
Use
TaskInputs.property(String, Object) directly instead. |
TaskInputPropertyBuilder optional(boolean optional)
@Deprecated boolean getHasInputs()
TaskInputs.getHasInputs() directly instead.UnsupportedOperationException.getHasInputs in interface TaskInputs@Deprecated FileCollection getFiles()
TaskInputs.getFiles() directly instead.UnsupportedOperationException.getFiles in interface TaskInputs@Deprecated TaskInputFilePropertyBuilder files(java.lang.Object... paths)
TaskInputs.files(Object...) directly instead.UnsupportedOperationException.files in interface CompatibilityAdapterForTaskInputsfiles in interface TaskInputspaths - The input files. The given paths are evaluated as per Project.files(Object...).@Deprecated TaskInputFilePropertyBuilder file(java.lang.Object path)
TaskInputs.file(Object) directly instead.UnsupportedOperationException.file in interface CompatibilityAdapterForTaskInputsfile in interface TaskInputspath - The input file. The given path is evaluated as per Project.file(Object).@Deprecated TaskInputFilePropertyBuilder dir(java.lang.Object dirPath)
TaskInputs.dir(Object) directly instead.UnsupportedOperationException.dir in interface CompatibilityAdapterForTaskInputsdir in interface TaskInputsdirPath - The directory. The path is evaluated as per Project.file(Object).@Deprecated java.util.Map<java.lang.String,java.lang.Object> getProperties()
TaskInputs.getProperties() directly instead.UnsupportedOperationException.getProperties in interface TaskInputs@Deprecated TaskInputPropertyBuilder property(java.lang.String name, @Nullable java.lang.Object value)
TaskInputs.property(String, Object) directly instead.UnsupportedOperationException.property in interface CompatibilityAdapterForTaskInputsproperty in interface TaskInputsname - The name of the property. Must not be null.value - The value for the property. Can be null.@Deprecated TaskInputs properties(java.util.Map<java.lang.String,?> properties)
TaskInputs.properties(Map) directly instead.UnsupportedOperationException.properties in interface TaskInputsproperties - The properties.@Deprecated boolean getHasSourceFiles()
TaskInputs.getHasSourceFiles() directly instead.UnsupportedOperationException.getHasSourceFiles in interface TaskInputs@Deprecated FileCollection getSourceFiles()
TaskInputs.getSourceFiles() directly instead.UnsupportedOperationException.getSourceFiles in interface TaskInputs