@Component public class DefaultProjectConfigWorkflowDispatcher extends Object implements ProjectConfigWorkflowDispatcher
ProjectConfigWorkflowDispatcher.EditSchemeResult
Constructor and Description |
---|
DefaultProjectConfigWorkflowDispatcher(WorkflowSchemeService workflowSchemeService,
WorkflowSchemeManager workflowSchemeManager,
ProjectService projectService,
JiraAuthenticationContext authCtx,
PermissionManager permissionManager,
WorkflowService workflowService,
MigrationHelperFactory migrationFactory) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ProjectConfigWorkflowDispatcher.EditSchemeResult> |
editScheme(String projectKey)
Creates a draft workflow scheme for the passed project.
|
ServiceOutcome<Pair<String,Long>> |
editWorkflow(long projectId)
Called when the user tries to edit a workflow associated with the passed project.
|
@Autowired public DefaultProjectConfigWorkflowDispatcher(WorkflowSchemeService workflowSchemeService, WorkflowSchemeManager workflowSchemeManager, ProjectService projectService, JiraAuthenticationContext authCtx, PermissionManager permissionManager, WorkflowService workflowService, MigrationHelperFactory migrationFactory)
public ServiceOutcome<Pair<String,Long>> editWorkflow(long projectId)
ProjectConfigWorkflowDispatcher
editWorkflow
in interface ProjectConfigWorkflowDispatcher
projectId
- the project.public ServiceOutcome<ProjectConfigWorkflowDispatcher.EditSchemeResult> editScheme(String projectKey)
ProjectConfigWorkflowDispatcher
editScheme
in interface ProjectConfigWorkflowDispatcher
projectKey
- the project.Copyright © 2002-2018 Atlassian. All Rights Reserved.