Describes an output property of a task that contains zero or more files.
Type | Name and description |
---|---|
TaskOutputFilePropertyBuilder |
dir(Object path) {@inheritDoc} |
TaskOutputFilePropertyBuilder |
file(Object path) {@inheritDoc} |
TaskOutputs |
files(Object... paths) {@inheritDoc} |
FileCollection |
getFiles() {@inheritDoc} |
boolean |
getHasOutput() {@inheritDoc} |
TaskOutputFilePropertyBuilder |
optional() Marks a task property as optional. |
TaskOutputFilePropertyBuilder |
optional(boolean optional) Sets whether the task property is optional. |
void |
upToDateWhen(groovy.lang.Closure upToDateClosure) {@inheritDoc} |
void |
upToDateWhen(Spec<? super Task> upToDateSpec) {@inheritDoc} |
TaskOutputFilePropertyBuilder |
withPropertyName(String propertyName) {@inheritDoc} |
Methods inherited from class | Name |
---|---|
interface TaskOutputs |
dir, file, files, getFiles, getHasOutput, namedFiles, namedFiles, upToDateWhen, upToDateWhen |
interface TaskPropertyBuilder |
withPropertyName |
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Marks a task property as optional. This means that a value does not have to be specified for the property, but any value specified must meet the validation constraints for the property.
Sets whether the task property is optional. If the task property is optional, it means that a value does not have to be specified for the property, but any value specified must meet the validation constraints for the property.
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}