public interface WorkflowScheme
Modifier and Type | Interface and Description |
---|---|
static interface |
WorkflowScheme.Builder<T extends WorkflowScheme.Builder<T>>
A builder that can be used to change a workflow scheme.
|
Modifier and Type | Method and Description |
---|---|
String |
getActualDefaultWorkflow()
Get the default workflow for the scheme.
|
String |
getActualWorkflow(String issueTypeId)
Returns the workflow to use given the passed issueTypeId.
|
String |
getConfiguredDefaultWorkflow()
Return the default workflow as saved in the database.
|
String |
getConfiguredWorkflow(String issueTypeId)
Return the Workflow for the passed IssueType as saved in the databse.
|
String |
getDescription()
The description of the workflow scheme.
|
Long |
getId()
The id of the workflow scheme.
|
Map<String,String> |
getMappings()
Returns a map of the form
issueTypeId -> workflowName . |
String |
getName()
The name of the workflow scheme.
|
boolean |
isDefault()
Is the scheme the system default.
|
boolean |
isDraft()
Is the scheme a draft.
|
Long getId()
String getName()
String getDescription()
boolean isDraft()
boolean isDefault()
@Nonnull String getActualWorkflow(String issueTypeId)
issueTypeId
- the issue type.@Nonnull String getActualDefaultWorkflow()
@Nonnull Map<String,String> getMappings()
issueTypeId -> workflowName
. The null
issueTypeId is used to hold
the value of the default workflow (if configured).issueTypeId -> workflowName
.String getConfiguredDefaultWorkflow()
Copyright © 2002-2021 Atlassian. All Rights Reserved.