|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.framework.AbstractFuncTestUtil com.atlassian.jira.functest.framework.admin.WorkflowSchemesImpl
public class WorkflowSchemesImpl
Default implementation of WorkflowSchemes
.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, logIndentLevel, tester |
Constructor Summary | |
---|---|
WorkflowSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
|
Method Summary | |
---|---|
Integer |
addWorkflowScheme(String name,
String description)
Add new workflow scheme with given name and description. |
WorkflowSchemes |
assignWorkflow(String schemeName,
String issueTypeId,
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 schemeId,
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. |
WorkflowSchemes |
goTo()
Go there. |
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowSchemesImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData, int logIndentLevel)
Method Detail |
---|
public WorkflowSchemes goTo()
Navigable
goTo
in interface Navigable<WorkflowSchemes>
public Integer addWorkflowScheme(String name, String description)
WorkflowSchemes
addWorkflowScheme
in interface WorkflowSchemes
name
- name of the new schemedescription
- description of the new scheme
public WorkflowSchemes assignWorkflows(String schemeId, Map<String,String> workflowMappings)
WorkflowSchemes
assignWorkflows
in interface WorkflowSchemes
schemeId
- name of the scheme to editworkflowMappings
- map representing mappings between issue types names and workflow names
FunctTestConstants
public WorkflowSchemes assignWorkflow(String schemeName, String issueTypeId, String workflowName)
WorkflowSchemes
assignWorkflow
in interface WorkflowSchemes
schemeName
- id of the scheme to editissueTypeId
- name of the issue type to mapworkflowName
- name of the workflow to map
FunctTestConstants
public WorkflowSchemes assignWorkflowToAllIssueTypes(String schemeId, String workflowName)
WorkflowSchemes
assignWorkflowToAllIssueTypes
in interface WorkflowSchemes
schemeId
- id of the scheme to editworkflowName
- name of the workflow to map
FunctTestConstants.ISSUE_ALL
,
WorkflowSchemes.assignWorkflow(String, String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |