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)
WorkflowLoopedTransitions
createLoopedTransition
in interface WorkflowLoopedTransitions
ServiceOutcome
containing the transition data.public ServiceOutcome<Workflow> deleteLoopedTransition(int loopedTransitionId, String workflowName)
WorkflowLoopedTransitions
deleteLoopedTransition
in interface WorkflowLoopedTransitions
loopedTransitionId
- 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)
WorkflowLoopedTransitions
updateLoopedTransition
in interface WorkflowLoopedTransitions
public ServiceOutcome<Workflow> verifyLoopedTransitionCanBeAdded(String name, String workflowName, Long screenId)
verifyLoopedTransitionCanBeAdded
in interface WorkflowLoopedTransitions
public ServiceOutcome<Workflow> verifyLoopedTransitionCanBeUpdated(int transitionId, String name, String workflowName, Long screenId)
verifyLoopedTransitionCanBeUpdated
in interface WorkflowLoopedTransitions
Copyright © 2002-2017 Atlassian. All Rights Reserved.