Class ViewWorkflowsImpl
java.lang.Object
com.atlassian.jira.functest.framework.admin.ViewWorkflowsImpl
- All Implemented Interfaces:
ViewWorkflows
Default implementation of
ViewWorkflows
- Since:
- v4.3
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.ViewWorkflows
ViewWorkflows.WorkflowItem, ViewWorkflows.WorkflowItemsList, ViewWorkflows.WorkflowState
-
Constructor Summary
ConstructorsConstructorDescriptionViewWorkflowsImpl
(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel, Navigation navigation) Deprecated.ViewWorkflowsImpl
(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, Navigation navigation) -
Method Summary
Modifier and TypeMethodDescriptionactive()
addWorkflow
(String name, String description) Add new workflow with given name and description.copyWorkflow
(String nameToCopy, String newWorkflowName) Cope workflow with given nameToCopy as a new workflow named newWorkflowName.copyWorkflow
(String nameToCopy, String newWorkflowName, String newWorkflowDescription) createDraft
(String name) goTo()
Go to 'Workflows' page.boolean
hasOperation
(String workflowName, String operationName) inactive()
boolean
isDeletable
(String workflowName) boolean
isEditable
(String workflowName) boolean
Whether the import workflow from xml operation is available.launchDesigner
(String workflowName) Launch the Workflow Designer for the given workflowpublishDraft
(String name) workflowInitialStep
(String workflowName) Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.workflowSteps
(String workflowName) Go to 'Workflow steps' page for given workflow
-
Constructor Details
-
Method Details
-
goTo
Description copied from interface:ViewWorkflows
Go to 'Workflows' page.- Specified by:
goTo
in interfaceViewWorkflows
- Returns:
- this workflows instance
-
addWorkflow
Description copied from interface:ViewWorkflows
Add new workflow with given name and description.- Specified by:
addWorkflow
in interfaceViewWorkflows
- Parameters:
name
- name of the new workflowdescription
- description of the new workflow- Returns:
- this workflows instance
-
edit
- Specified by:
edit
in interfaceViewWorkflows
-
delete
- Specified by:
delete
in interfaceViewWorkflows
-
createDraft
- Specified by:
createDraft
in interfaceViewWorkflows
-
publishDraft
- Specified by:
publishDraft
in interfaceViewWorkflows
-
copyWorkflow
Description copied from interface:ViewWorkflows
Cope workflow with given nameToCopy as a new workflow named newWorkflowName.- Specified by:
copyWorkflow
in interfaceViewWorkflows
- Parameters:
nameToCopy
- name of the workflow to copy (must exist)newWorkflowName
- name of the new workflow- Returns:
- this workflows instance
-
copyWorkflow
public WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName, String newWorkflowDescription) - Specified by:
copyWorkflow
in interfaceViewWorkflows
-
workflowSteps
Description copied from interface:ViewWorkflows
Go to 'Workflow steps' page for given workflow- Specified by:
workflowSteps
in interfaceViewWorkflows
- Parameters:
workflowName
- name of the workflow- Returns:
- workflow steps
-
launchDesigner
Description copied from interface:ViewWorkflows
Launch the Workflow Designer for the given workflow- Specified by:
launchDesigner
in interfaceViewWorkflows
- Parameters:
workflowName
- name of the workflow- Returns:
- this workflows instance
-
isImportWorkflowFromXmlButtonPresent
public boolean isImportWorkflowFromXmlButtonPresent()Description copied from interface:ViewWorkflows
Whether the import workflow from xml operation is available.- Specified by:
isImportWorkflowFromXmlButtonPresent
in interfaceViewWorkflows
- Returns:
- true, if the import workflow from xml operation is available; otherwise, false.
-
active
- Specified by:
active
in interfaceViewWorkflows
-
inactive
- Specified by:
inactive
in interfaceViewWorkflows
-
isEditable
- Specified by:
isEditable
in interfaceViewWorkflows
-
isDeletable
- Specified by:
isDeletable
in interfaceViewWorkflows
-
hasOperation
-
view
- Specified by:
view
in interfaceViewWorkflows
-
workflowInitialStep
Description copied from interface:ViewWorkflows
Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.- Specified by:
workflowInitialStep
in interfaceViewWorkflows
- Returns:
-