com.atlassian.jira.functest.framework.admin
Interface WorkflowSchemes

All Superinterfaces:
Navigable<WorkflowSchemes>
All Known Implementing Classes:
WorkflowSchemesImpl

public interface WorkflowSchemes
extends Navigable<WorkflowSchemes>

Represents 'Workflow schemes' administration section.

Since:
v4.3

Method Summary
 Integer addWorkflowScheme(String name, String description)
          Add new workflow scheme with given name and description.
 WorkflowSchemes assignWorkflow(String schemeId, String issueTypeName, String workflowName)
          For given scheme identified by schemeName, assign a new workflow mapping between issue identified by issueTypeName and workflow identified by workflowName.
 WorkflowSchemes assignWorkflows(String schemeName, Map<String,String> workflowMappings)
          For given scheme identified by schemeName, assign workflowMappings, where keys represent issue type names and values represent workflow name.
 WorkflowSchemes assignWorkflowToAllIssueTypes(String schemeId, String workflowName)
          For given scheme identified by schemeName, assign workflow identified by workflowName to all issue types.
 
Methods inherited from interface com.atlassian.jira.functest.framework.Navigable
goTo
 

Method Detail

addWorkflowScheme

Integer addWorkflowScheme(String name,
                          String description)
Add new workflow scheme with given name and description.

Parameters:
name - name of the new scheme
description - description of the new scheme
Returns:
new workflow scheme ID

assignWorkflows

WorkflowSchemes assignWorkflows(String schemeName,
                                Map<String,String> workflowMappings)
For given scheme identified by schemeName, assign workflowMappings, where keys represent issue type names and values represent workflow name.

Parameters:
schemeName - name of the scheme to edit
workflowMappings - map representing mappings between issue types names and workflow names
Returns:
this config instance
See Also:
FunctTestConstants

assignWorkflow

WorkflowSchemes assignWorkflow(String schemeId,
                               String issueTypeName,
                               String workflowName)
For given scheme identified by schemeName, assign a new workflow mapping between issue identified by issueTypeName and workflow identified by workflowName.

Parameters:
schemeId - id of the scheme to edit
issueTypeName - name of the issue type to map
workflowName - name of the workflow to map
Returns:
this config instance
See Also:
FunctTestConstants

assignWorkflowToAllIssueTypes

WorkflowSchemes assignWorkflowToAllIssueTypes(String schemeId,
                                              String workflowName)
For given scheme identified by schemeName, assign workflow identified by workflowName to all issue types.

Parameters:
schemeId - id of the scheme to edit
workflowName - name of the workflow to map
Returns:
this config instance
See Also:
FunctTestConstants.ISSUE_ALL, assignWorkflow(String, String, String)


Copyright © 2002-2012 Atlassian. All Rights Reserved.