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

All Known Implementing Classes:
WorkflowSchemesImpl

public interface 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 schemeName, 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 schemeName, String workflowName)
          For given scheme identified by schemeName, assign workflow identified by workflowName to all issue types.
 WorkflowSchemes goTo()
          Go to the 'Workflow Schemes' admin page
 

Method Detail

goTo

WorkflowSchemes goTo()
Go to the 'Workflow Schemes' admin page

Returns:
this config instance

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 schemeName,
                               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:
schemeName - name 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 schemeName,
                                              String workflowName)
For given scheme identified by schemeName, assign workflow identified by workflowName to all issue types.

Parameters:
schemeName - name 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-2011 Atlassian. All Rights Reserved.