public class WorkflowLoopedTransitionsImpl extends Object implements WorkflowLoopedTransitions
| Constructor and Description |
|---|
WorkflowLoopedTransitionsImpl(Workflows workflows,
FieldScreenManager fieldScreenManager,
JiraAuthenticationContext jiraAuthenticationContext,
OutcomeHelper outcomeHelper,
WorkflowService workflowService) |
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<TransitionData> |
createLoopedTransition(String loopedTransitionName,
String loopedTransitionDescription,
Long screenId,
String workflowName)
Create a looped transition to all statuses on a workflow.
|
ServiceOutcome<Workflow> |
deleteLoopedTransition(int loopedTransitionId,
String workflowName)
Delete the looped transition in the specified workflow.
|
ServiceOutcome<Workflow> |
updateLoopedTransition(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> |
verifyLoopedTransitionCanBeAdded(String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> |
verifyLoopedTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
public WorkflowLoopedTransitionsImpl(Workflows workflows, FieldScreenManager fieldScreenManager, JiraAuthenticationContext jiraAuthenticationContext, OutcomeHelper outcomeHelper, WorkflowService workflowService)
public ServiceOutcome<TransitionData> createLoopedTransition(String loopedTransitionName, String loopedTransitionDescription, Long screenId, String workflowName)
WorkflowLoopedTransitionscreateLoopedTransition in interface WorkflowLoopedTransitionsServiceOutcome containing the transition data.public ServiceOutcome<Workflow> deleteLoopedTransition(int loopedTransitionId, String workflowName)
WorkflowLoopedTransitionsdeleteLoopedTransition in interface WorkflowLoopedTransitionsloopedTransitionId - The looped transition to delete.workflowName - The workflow to delete the looped transition from.ServiceOutcome containing the updated workflow.public ServiceOutcome<Workflow> updateLoopedTransition(int transitionId, String name, String description, Long screenId, String workflowName)
WorkflowLoopedTransitionsupdateLoopedTransition in interface WorkflowLoopedTransitionspublic ServiceOutcome<Workflow> verifyLoopedTransitionCanBeAdded(String name, String workflowName, Long screenId)
verifyLoopedTransitionCanBeAdded in interface WorkflowLoopedTransitionspublic ServiceOutcome<Workflow> verifyLoopedTransitionCanBeUpdated(int transitionId, String name, String workflowName, Long screenId)
verifyLoopedTransitionCanBeUpdated in interface WorkflowLoopedTransitionsCopyright © 2002-2023 Atlassian. All Rights Reserved.