Class JiraWorkflow
java.lang.Object
io.github.primelib.jira4j.restv3.model.JiraWorkflow
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class JiraWorkflow
extends Object
JiraWorkflow
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The description of the workflow.protected String
The ID of the workflow.protected Boolean
Indicates if the workflow can be edited.protected String
The name of the workflow.protected WorkflowScope
protected WorkflowLayout
protected Set<WorkflowReferenceStatus>
The statuses referenced in this workflow.protected String
If there is a current [asynchronous task](#async-operations) operation for this workflow.protected Set<WorkflowTransitions>
The transitions of the workflow.protected Set<ProjectIssueTypes>
Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows.protected DocumentVersion
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JiraWorkflow
(String description, String id, Boolean isEditable, String name, WorkflowScope scope, WorkflowLayout startPointLayout, Set<WorkflowReferenceStatus> statuses, String taskId, Set<WorkflowTransitions> transitions, Set<ProjectIssueTypes> usages, DocumentVersion version) Constructs a validated instance ofJiraWorkflow
.JiraWorkflow
(Consumer<JiraWorkflow> spec) Constructs a validated instance ofJiraWorkflow
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The description of the workflow.description
(String description) The description of the workflow.boolean
int
hashCode()
id()
The ID of the workflow.The ID of the workflow.Indicates if the workflow can be edited.isEditable
(Boolean isEditable) Indicates if the workflow can be edited.name()
The name of the workflow.The name of the workflow.scope()
scope
(WorkflowScope scope) startPointLayout
(WorkflowLayout startPointLayout) statuses()
The statuses referenced in this workflow.statuses
(Set<WorkflowReferenceStatus> statuses) The statuses referenced in this workflow.taskId()
If there is a current [asynchronous task](#async-operations) operation for this workflow.If there is a current [asynchronous task](#async-operations) operation for this workflow.toString()
The transitions of the workflow.transitions
(Set<WorkflowTransitions> transitions) The transitions of the workflow.usages()
Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows.usages
(Set<ProjectIssueTypes> usages) Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows.version()
version
(DocumentVersion version)
-
Field Details
-
description
The description of the workflow. -
id
The ID of the workflow. -
isEditable
Indicates if the workflow can be edited. -
name
The name of the workflow. -
scope
-
startPointLayout
-
statuses
The statuses referenced in this workflow. -
taskId
If there is a current [asynchronous task](#async-operations) operation for this workflow. -
transitions
The transitions of the workflow. -
usages
Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows. -
version
-
-
Constructor Details
-
JiraWorkflow
Constructs a validated instance ofJiraWorkflow
.- Parameters:
spec
- the specification to process
-
JiraWorkflow
@Internal public JiraWorkflow(String description, String id, Boolean isEditable, String name, WorkflowScope scope, WorkflowLayout startPointLayout, Set<WorkflowReferenceStatus> statuses, String taskId, Set<WorkflowTransitions> transitions, Set<ProjectIssueTypes> usages, DocumentVersion version) Constructs a validated instance ofJiraWorkflow
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
JiraWorkflow(Consumer)
instead.- Parameters:
description
- The description of the workflow.id
- The ID of the workflow.isEditable
- Indicates if the workflow can be edited.name
- The name of the workflow.scope
- scopestartPointLayout
- startPointLayoutstatuses
- The statuses referenced in this workflow.taskId
- If there is a current [asynchronous task](#async-operations) operation for this workflow.transitions
- The transitions of the workflow.usages
- Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows.version
- version
-
JiraWorkflow
protected JiraWorkflow()
-
-
Method Details
-
builder
-
description
The description of the workflow. -
id
The ID of the workflow. -
isEditable
Indicates if the workflow can be edited. -
name
The name of the workflow. -
scope
-
startPointLayout
-
statuses
The statuses referenced in this workflow. -
taskId
If there is a current [asynchronous task](#async-operations) operation for this workflow. -
transitions
The transitions of the workflow. -
usages
Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows. -
version
-
description
The description of the workflow.- Returns:
this
.
-
id
The ID of the workflow.- Returns:
this
.
-
isEditable
Indicates if the workflow can be edited.- Returns:
this
.
-
name
The name of the workflow.- Returns:
this
.
-
scope
- Returns:
this
.
-
startPointLayout
- Returns:
this
.
-
statuses
The statuses referenced in this workflow.- Returns:
this
.
-
taskId
If there is a current [asynchronous task](#async-operations) operation for this workflow.- Returns:
this
.
-
transitions
The transitions of the workflow.- Returns:
this
.
-
usages
Use the optionalworkflows.usages
expand to get additional information about the projects and issue types associated with the requested workflows.- Returns:
this
.
-
version
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-