Class Workflow
java.lang.Object
io.github.primelib.jira4j.restv3.model.Workflow
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Workflow
extends Object
Workflow
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OffsetDateTime
The creation date of the workflow.protected String
The description of the workflow.protected Boolean
Whether the workflow has a draft version.protected PublishedWorkflowId
protected Boolean
Whether this is the default workflow.protected WorkflowOperations
protected List<ProjectDetails>
The projects the workflow is assigned to, through workflow schemes.protected List<WorkflowSchemeIdName>
The workflow schemes the workflow is assigned to.protected List<WorkflowStatus>
The statuses of the workflow.protected List<Transition>
The transitions of the workflow.protected OffsetDateTime
The last edited date of the workflow. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Workflow()
Workflow
(OffsetDateTime created, String description, Boolean hasDraftWorkflow, PublishedWorkflowId id, Boolean isDefault, WorkflowOperations operations, List<ProjectDetails> projects, List<WorkflowSchemeIdName> schemes, List<WorkflowStatus> statuses, List<Transition> transitions, OffsetDateTime updated) Constructs a validated instance ofWorkflow
.Constructs a validated instance ofWorkflow
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Workflow.WorkflowBuilder
builder()
protected boolean
created()
The creation date of the workflow.created
(OffsetDateTime created) The creation date of the workflow.The description of the workflow.description
(String description) The description of the workflow.boolean
Whether the workflow has a draft version.hasDraftWorkflow
(Boolean hasDraftWorkflow) Whether the workflow has a draft version.int
hashCode()
id()
Whether this is the default workflow.Whether this is the default workflow.operations
(WorkflowOperations operations) projects()
The projects the workflow is assigned to, through workflow schemes.projects
(List<ProjectDetails> projects) The projects the workflow is assigned to, through workflow schemes.schemes()
The workflow schemes the workflow is assigned to.schemes
(List<WorkflowSchemeIdName> schemes) The workflow schemes the workflow is assigned to.statuses()
The statuses of the workflow.statuses
(List<WorkflowStatus> statuses) The statuses of the workflow.toString()
The transitions of the workflow.transitions
(List<Transition> transitions) The transitions of the workflow.updated()
The last edited date of the workflow.updated
(OffsetDateTime updated) The last edited date of the workflow.
-
Field Details
-
created
The creation date of the workflow. -
description
The description of the workflow. -
hasDraftWorkflow
Whether the workflow has a draft version. -
id
-
isDefault
Whether this is the default workflow. -
operations
-
projects
The projects the workflow is assigned to, through workflow schemes. -
schemes
The workflow schemes the workflow is assigned to. -
statuses
The statuses of the workflow. -
transitions
The transitions of the workflow. -
updated
The last edited date of the workflow.
-
-
Constructor Details
-
Workflow
Constructs a validated instance ofWorkflow
.- Parameters:
spec
- the specification to process
-
Workflow
@Internal public Workflow(OffsetDateTime created, String description, Boolean hasDraftWorkflow, PublishedWorkflowId id, Boolean isDefault, WorkflowOperations operations, List<ProjectDetails> projects, List<WorkflowSchemeIdName> schemes, List<WorkflowStatus> statuses, List<Transition> transitions, OffsetDateTime updated) Constructs a validated instance ofWorkflow
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Workflow(Consumer)
instead.- Parameters:
created
- The creation date of the workflow.description
- The description of the workflow.hasDraftWorkflow
- Whether the workflow has a draft version.id
- idisDefault
- Whether this is the default workflow.operations
- operationsprojects
- The projects the workflow is assigned to, through workflow schemes.schemes
- The workflow schemes the workflow is assigned to.statuses
- The statuses of the workflow.transitions
- The transitions of the workflow.updated
- The last edited date of the workflow.
-
Workflow
protected Workflow()
-
-
Method Details
-
builder
-
created
The creation date of the workflow. -
description
The description of the workflow. -
hasDraftWorkflow
Whether the workflow has a draft version. -
id
-
isDefault
Whether this is the default workflow. -
operations
-
projects
The projects the workflow is assigned to, through workflow schemes. -
schemes
The workflow schemes the workflow is assigned to. -
statuses
The statuses of the workflow. -
transitions
The transitions of the workflow. -
updated
The last edited date of the workflow. -
created
The creation date of the workflow.- Returns:
this
.
-
description
The description of the workflow.- Returns:
this
.
-
hasDraftWorkflow
Whether the workflow has a draft version.- Returns:
this
.
-
id
- Returns:
this
.
-
isDefault
Whether this is the default workflow.- Returns:
this
.
-
operations
- Returns:
this
.
-
projects
The projects the workflow is assigned to, through workflow schemes.- Returns:
this
.
-
schemes
The workflow schemes the workflow is assigned to.- Returns:
this
.
-
statuses
The statuses of the workflow.- Returns:
this
.
-
transitions
The transitions of the workflow.- Returns:
this
.
-
updated
The last edited date of the workflow.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-