public class WorkflowGlobalTransitionsImpl extends Object implements WorkflowGlobalTransitions
| Constructor and Description |
|---|
WorkflowGlobalTransitionsImpl(StatusManager statusManager,
Workflows workflows,
FieldScreenManager fieldScreenManager,
JiraAuthenticationContext jiraAuthenticationContext,
OutcomeHelper outcomeHelper,
WorkflowService workflowService) |
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<TransitionData> |
addGlobalTransitionToWorkflow(String workflowName,
String statusId,
String globalTransitionName,
String globalTransitionDescription,
Long screenId)
Add a global transition with the specified properties to the named workflow.
|
ServiceOutcome<Workflow> |
createGlobalTransition(String statusId,
String workflowName,
String globalTransitionName,
String globalTransitionDescription,
Long screenId)
Create a global transition to a specified status on a workflow.
|
ServiceOutcome<Workflow> |
deleteGlobalTransition(String globalTransitionId,
String workflowName)
Delete the global transition in the specified workflow.
|
String |
resolveUniqueGlobalTransitionName(Workflow workflow,
String globalTransitionName)
Checks if a global transition name conflict occurs, returns a generated unique name if it does
|
ServiceOutcome<Workflow> |
updateGlobalTransition(int transitionId,
String name,
String description,
Long screenId,
String workflowName)
Update the global transition identified by the specified transition id with the supplied properties.
|
ServiceOutcome<Workflow> |
verifyGlobalTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
public WorkflowGlobalTransitionsImpl(StatusManager statusManager, Workflows workflows, FieldScreenManager fieldScreenManager, JiraAuthenticationContext jiraAuthenticationContext, OutcomeHelper outcomeHelper, WorkflowService workflowService)
public ServiceOutcome<Workflow> createGlobalTransition(String statusId, String workflowName, String globalTransitionName, String globalTransitionDescription, Long screenId)
WorkflowGlobalTransitionscreateGlobalTransition in interface WorkflowGlobalTransitionsServiceOutcome containing the updated workflow.public ServiceOutcome<TransitionData> addGlobalTransitionToWorkflow(String workflowName, String statusId, String globalTransitionName, String globalTransitionDescription, Long screenId)
WorkflowGlobalTransitionsaddGlobalTransitionToWorkflow in interface WorkflowGlobalTransitionspublic ServiceOutcome<Workflow> deleteGlobalTransition(String globalTransitionId, String workflowName)
WorkflowGlobalTransitionsdeleteGlobalTransition in interface WorkflowGlobalTransitionsglobalTransitionId - The global transition to delete.workflowName - The workflow to delete the global transition from.ServiceOutcome containing the updated workflow.public ServiceOutcome<Workflow> updateGlobalTransition(int transitionId, String name, String description, Long screenId, String workflowName)
WorkflowGlobalTransitionsupdateGlobalTransition in interface WorkflowGlobalTransitionspublic ServiceOutcome<Workflow> verifyGlobalTransitionCanBeUpdated(int transitionId, String name, String workflowName, Long screenId)
verifyGlobalTransitionCanBeUpdated in interface WorkflowGlobalTransitionspublic String resolveUniqueGlobalTransitionName(Workflow workflow, String globalTransitionName)
WorkflowGlobalTransitionsresolveUniqueGlobalTransitionName in interface WorkflowGlobalTransitionsworkflow - derived names are only unique within this workflowglobalTransitionName - The desired name for the global transitionCopyright © 2002-2021 Atlassian. All Rights Reserved.