Interface TaskInputFilePropertyBuilder

    • Method Detail

      • skipWhenEmpty

        TaskInputFilePropertyBuilder skipWhenEmpty()
        Skip executing the task if the property contains no files. If there are multiple properties with {code skipWhenEmpty = true}, then they all need to be empty for the task to be skipped.
      • skipWhenEmpty

        TaskInputFilePropertyBuilder skipWhenEmpty​(boolean skipWhenEmpty)
        Sets whether executing the task should be skipped if the property contains no files. If there are multiple properties with {code skipWhenEmpty = true}, then they all need to be empty for the task to be skipped.
      • optional

        TaskInputFilePropertyBuilder optional()
        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.
      • optional

        TaskInputFilePropertyBuilder optional​(boolean optional)
        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.