TaskFilePropertyBuilder
, TaskPropertyBuilder
public interface TaskInputFilePropertyBuilder extends TaskFilePropertyBuilder
Modifier and Type | Method | Description |
---|---|---|
TaskInputFilePropertyBuilder |
optional() |
Marks a task property as optional.
|
TaskInputFilePropertyBuilder |
optional(boolean optional) |
Sets whether the task property is optional.
|
TaskInputFilePropertyBuilder |
skipWhenEmpty() |
Skip executing the task if the property contains no files.
|
TaskInputFilePropertyBuilder |
skipWhenEmpty(boolean skipWhenEmpty) |
Sets whether executing the task should be skipped if the property contains no files.
|
TaskInputFilePropertyBuilder |
withNormalizer(Class<? extends FileNormalizer> normalizer) |
Sets the normalizer to use for this property.
|
TaskInputFilePropertyBuilder |
withPathSensitivity(PathSensitivity sensitivity) |
Sets which part of the path of files should be considered during up-to-date checks.
|
TaskInputFilePropertyBuilder |
withPropertyName(String propertyName) |
Sets the name for this property.
|
TaskInputFilePropertyBuilder withPropertyName(String propertyName)
If the method is not called, or if it is called with null
, a name
will be assigned to the property automatically.
withPropertyName
in interface TaskFilePropertyBuilder
TaskInputFilePropertyBuilder skipWhenEmpty()
TaskInputFilePropertyBuilder skipWhenEmpty(boolean skipWhenEmpty)
TaskInputFilePropertyBuilder optional()
TaskInputFilePropertyBuilder optional(boolean optional)
TaskInputFilePropertyBuilder withPathSensitivity(PathSensitivity sensitivity)
TaskInputFilePropertyBuilder withNormalizer(Class<? extends FileNormalizer> normalizer)