Package com.atlassian.jira.workflow
Interface DraftWorkflowScheme
- All Superinterfaces:
WorkflowScheme
- All Known Implementing Classes:
MockDraftWorkflowScheme
- Since:
- v5.2
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A builder that can be used to change the state of the workflow scheme. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Return a builder initialised with the state of the current workflow scheme.The date the scheme was last updated (or created).The user that last modified the scheme.Return a reference to the parent of the draft scheme.Methods inherited from interface com.atlassian.jira.workflow.WorkflowScheme
getActualDefaultWorkflow, getActualWorkflow, getConfiguredDefaultWorkflow, getConfiguredWorkflow, getDescription, getId, getMappings, getName, isDefault, isDraft
-
Method Details
-
getLastModifiedUser
ApplicationUser getLastModifiedUser()The user that last modified the scheme.- Returns:
- the user that last modified the scheme. Can be null.
-
getLastModifiedDate
The date the scheme was last updated (or created).- Returns:
- the date the scheme was last updated or created.
-
getParentScheme
AssignableWorkflowScheme getParentScheme()Return a reference to the parent of the draft scheme.- Returns:
- a reference to the parent of the draft scheme.
-
builder
DraftWorkflowScheme.Builder builder()Return a builder initialised with the state of the current workflow scheme.- Returns:
- a new builder initialised with the state of the current workflow scheme.
-