Class TaskSearch.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<TaskSearch>
co.yellowdog.platform.interaction.scheduler.TaskSearch.Builder
- Enclosing class:
TaskSearch
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.finishedTime(InstantRange finishedTime) hasOutputs(Boolean hasOutputs) sortDirection(SortDirection sortDirection) startedTime(InstantRange startedTime) statuses(List<TaskStatus> statuses) tagStartsWith(String tagStartsWith) taskGroupId(String taskGroupId) toString()workRequirementId(String workRequirementId) Methods inherited from class ValidatedBuilder
build, validateModifier and TypeMethodDescriptionbuild()Builds and validates the object.Set<jakarta.validation.ConstraintViolation<TaskSearch>> validate()Performs validation based on the current builder properties and returns the ConstraintViolations without throwing.
-
Method Details
-
workRequirementId
- Returns:
this.
-
taskGroupId
- Returns:
this.
-
name
- Returns:
this.
-
startedTime
- Returns:
this.
-
finishedTime
- Returns:
this.
-
hasInputs
- Returns:
this.
-
hasOutputs
- Returns:
this.
-
hasErrors
- Returns:
this.
-
tag
- Returns:
this.
-
tagStartsWith
- Returns:
this.
-
statuses
- Returns:
this.
-
sortField
- Returns:
this.
-
sortDirection
- Returns:
this.
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. Use this when the object is validated later, for example as part of an enclosing object built withValidatedBuilder.build(), or when it does not need to be valid on its own.- Overrides:
buildUncheckedin classValidatedBuilder<TaskSearch>- Returns:
- the object being built
-
toString
-