public class WorkflowsResource extends Object
Constructor and Description |
---|
WorkflowsResource(WorkflowManager workflowManager,
DateTimeFormatter dateTimeFormatter,
UserManager userManager,
JiraAuthenticationContext jiraAuthenticationContext,
PermissionManager permissionManager,
WorkflowTransitionResource.Factory transitionFactory) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAllWorkflows(String workflowName)
Returns all workflows.
|
WorkflowTransitionResource |
getWorkflowTransitions(String workflowName,
String workflowMode)
Return a sub-resource to handle transitions.
|
public WorkflowsResource(WorkflowManager workflowManager, DateTimeFormatter dateTimeFormatter, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, PermissionManager permissionManager, WorkflowTransitionResource.Factory transitionFactory)
public javax.ws.rs.core.Response getAllWorkflows(String workflowName)
public WorkflowTransitionResource getWorkflowTransitions(String workflowName, String workflowMode)
workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".WorkflowTransitionResource
to handle the transition.Copyright © 2002-2022 Atlassian. All Rights Reserved.