Klasse CreateWorkflowDetails.CreateWorkflowDetailsBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.CreateWorkflowDetails.CreateWorkflowDetailsBuilder
- Umschließende Klasse:
CreateWorkflowDetails
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
description
(String description) The description of the workflow.The name of the workflow.statuses
(Set<CreateWorkflowStatusDetails> statuses) The statuses of the workflow.toString()
transitions
(List<CreateWorkflowTransitionDetails> transitions) The transitions of the workflow.
-
Methodendetails
-
description
The description of the workflow. The maximum length is 1000 characters.- Gibt zurück:
this
.
-
name
The name of the workflow. The name must be unique. The maximum length is 255 characters. Characters can be separated by a whitespace but the name cannot start or end with a whitespace.- Gibt zurück:
this
.
-
statuses
public CreateWorkflowDetails.CreateWorkflowDetailsBuilder statuses(Set<CreateWorkflowStatusDetails> statuses) The statuses of the workflow. Any status that does not include a transition is added to the workflow without a transition.- Gibt zurück:
this
.
-
transitions
public CreateWorkflowDetails.CreateWorkflowDetailsBuilder transitions(List<CreateWorkflowTransitionDetails> transitions) The transitions of the workflow. For the request to be valid, these transitions must: * include one *initial* transition. * not use the same name for a *global* and *directed* transition. * have a unique name for each *global* transition. * have a unique 'to' status for each *global* transition. * have unique names for each transition from a status. * not have a 'from' status on *initial* and *global* transitions. * have a 'from' status on *directed* transitions. All the transition statuses must be included instatuses
.- Gibt zurück:
this
.
-
build
-
toString
-