TaskFilePropertyBuilder
, TaskPropertyBuilder
public interface TaskOutputFilePropertyBuilder extends TaskFilePropertyBuilder
Modifier and Type | Method | Description |
---|---|---|
TaskOutputFilePropertyBuilder |
optional() |
Marks a task property as optional.
|
TaskOutputFilePropertyBuilder |
optional(boolean optional) |
Sets whether the task property is optional.
|
TaskFilePropertyBuilder |
tracked(boolean tracked) |
Declares whether Gradle should track this property.
|
TaskFilePropertyBuilder |
untracked() |
Declares this property as being untracked.
|
TaskOutputFilePropertyBuilder |
withPropertyName(String propertyName) |
Sets the name for this property.
|
TaskOutputFilePropertyBuilder 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
TaskOutputFilePropertyBuilder optional()
TaskOutputFilePropertyBuilder optional(boolean optional)
TaskFilePropertyBuilder untracked()
untracked
in interface TaskFilePropertyBuilder
Untracked
TaskFilePropertyBuilder tracked(boolean tracked)
tracked
in interface TaskFilePropertyBuilder
tracked
- Whether the property should be trackedUntracked