|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.admin.ViewWorkflowsImpl
public class ViewWorkflowsImpl
Default implementation of ViewWorkflows
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.ViewWorkflows |
---|
ViewWorkflows.WorkflowItem, ViewWorkflows.WorkflowItemsList, ViewWorkflows.WorkflowState |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, tester |
Constructor Summary | |
---|---|
ViewWorkflowsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel,
Navigation navigation)
|
Method Summary | |
---|---|
ViewWorkflows.WorkflowItemsList |
active()
|
ViewWorkflows |
addWorkflow(String name,
String description)
Add new workflow with given name and description. |
WorkflowDesignerPage |
copyWorkflow(String nameToCopy,
String newWorkflowName)
Cope workflow with given nameToCopy as a new workflow named newWorkflowName. |
WorkflowDesignerPage |
copyWorkflow(String nameToCopy,
String newWorkflowName,
String newWorkflowDescription)
|
WorkflowSteps |
createDraft(String name)
|
WorkflowDesignerPage |
edit(String workflowName)
|
ViewWorkflows |
goTo()
Go to 'Workflows' page. |
ViewWorkflows.WorkflowItemsList |
inactive()
|
boolean |
isEditable(String workflowName)
|
boolean |
isImportWorkflowFromXmlButtonPresent()
Whether the import workflow from xml operation is available. |
ViewWorkflows |
launchDesigner(String workflowName)
Launch the Workflow Designer for the given workflow |
PublishDraftPage |
publishDraft(String name)
|
ViewWorkflowPage |
view(String workflowName)
|
WorkflowSteps |
workflowSteps(String workflowName)
Go to 'Workflow steps' page for given workflow |
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 ViewWorkflowsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel, Navigation navigation)
Method Detail |
---|
public ViewWorkflows goTo()
ViewWorkflows
goTo
in interface ViewWorkflows
public ViewWorkflows addWorkflow(String name, String description)
ViewWorkflows
addWorkflow
in interface ViewWorkflows
name
- name of the new workflowdescription
- description of the new workflow
public WorkflowDesignerPage edit(String workflowName)
edit
in interface ViewWorkflows
public WorkflowSteps createDraft(String name)
createDraft
in interface ViewWorkflows
public PublishDraftPage publishDraft(String name)
publishDraft
in interface ViewWorkflows
public WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName)
ViewWorkflows
copyWorkflow
in interface ViewWorkflows
nameToCopy
- name of the workflow to copy (must exist)newWorkflowName
- name of the new workflow
public WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName, String newWorkflowDescription)
copyWorkflow
in interface ViewWorkflows
public WorkflowSteps workflowSteps(String workflowName)
ViewWorkflows
workflowSteps
in interface ViewWorkflows
workflowName
- name of the workflow
public ViewWorkflows launchDesigner(String workflowName)
ViewWorkflows
launchDesigner
in interface ViewWorkflows
workflowName
- name of the workflow
public boolean isImportWorkflowFromXmlButtonPresent()
ViewWorkflows
isImportWorkflowFromXmlButtonPresent
in interface ViewWorkflows
public ViewWorkflows.WorkflowItemsList active()
active
in interface ViewWorkflows
public ViewWorkflows.WorkflowItemsList inactive()
inactive
in interface ViewWorkflows
public boolean isEditable(String workflowName)
isEditable
in interface ViewWorkflows
public ViewWorkflowPage view(String workflowName)
view
in interface ViewWorkflows
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |