@PublicApi
public interface IssueWorkflowManager
While WorkflowManager
deals with the global administration of Workflows, this Manager supplies operations
that work on the wokrflow and current state of an individual Issue.
IssueManager
,
WorkflowManager
Modifier and Type | Method and Description |
---|---|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue)
Returns the Workflow actions that are valid for the given Issue in its current state.
|
List<com.opensymphony.workflow.loader.ActionDescriptor> |
getSortedAvailableActions(Issue issue)
Returns the Workflow actions that are valid for the given Issue in its current state.
|
boolean |
isValidAction(Issue issue,
int action)
Returns true if the given transition ID is valid for the given issue.
|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue)
issue
- the IssueList<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue)
issue
- the Issueboolean isValidAction(Issue issue, int action)
issue
- the Issueaction
- the id of the action we want to transitionCopyright © 2002-2014 Atlassian. All Rights Reserved.