Class CreateWorkflowDetails
java.lang.Object
io.github.primelib.jira4j.restv3.model.CreateWorkflowDetails
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateWorkflowDetails
extends Object
CreateWorkflowDetails
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The description of the workflow.protected String
The name of the workflow.protected Set<CreateWorkflowStatusDetails>
The statuses of the workflow.protected List<CreateWorkflowTransitionDetails>
The transitions of the workflow. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CreateWorkflowDetails
(String description, String name, Set<CreateWorkflowStatusDetails> statuses, List<CreateWorkflowTransitionDetails> transitions) Constructs a validated instance ofCreateWorkflowDetails
.Constructs a validated instance ofCreateWorkflowDetails
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The description of the workflow.description
(String description) The description of the workflow.boolean
int
hashCode()
name()
The name of the workflow.The name of the workflow.statuses()
The statuses of the workflow.statuses
(Set<CreateWorkflowStatusDetails> statuses) The statuses of the workflow.toString()
The transitions of the workflow.transitions
(List<CreateWorkflowTransitionDetails> transitions) The transitions of the workflow.
-
Field Details
-
description
The description of the workflow. The maximum length is 1000 characters. -
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. -
statuses
The statuses of the workflow. Any status that does not include a transition is added to the workflow without a transition. -
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
.
-
-
Constructor Details
-
CreateWorkflowDetails
Constructs a validated instance ofCreateWorkflowDetails
.- Parameters:
spec
- the specification to process
-
CreateWorkflowDetails
@Internal public CreateWorkflowDetails(String description, String name, Set<CreateWorkflowStatusDetails> statuses, List<CreateWorkflowTransitionDetails> transitions) Constructs a validated instance ofCreateWorkflowDetails
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CreateWorkflowDetails(Consumer)
instead.- Parameters:
description
- The description of the workflow. The maximum length is 1000 characters.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.statuses
- The statuses of the workflow. Any status that does not include a transition is added to the workflow without a transition.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
.
-
CreateWorkflowDetails
protected CreateWorkflowDetails()
-
-
Method Details
-
builder
-
description
The description of the workflow. The maximum length is 1000 characters. -
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. -
statuses
The statuses of the workflow. Any status that does not include a transition is added to the workflow without a transition. -
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
. -
description
The description of the workflow. The maximum length is 1000 characters.- Returns:
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.- Returns:
this
.
-
statuses
The statuses of the workflow. Any status that does not include a transition is added to the workflow without a transition.- Returns:
this
.
-
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
.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-