public class ViewWorkflowsImpl extends Object implements ViewWorkflows
ViewWorkflows
ViewWorkflows.WorkflowItem, ViewWorkflows.WorkflowItemsList, ViewWorkflows.WorkflowState
Constructor and Description |
---|
ViewWorkflowsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel,
Navigation navigation)
Deprecated.
|
ViewWorkflowsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation) |
Modifier and Type | Method and Description |
---|---|
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) |
ViewWorkflows |
delete(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) |
WorkflowInitialStep |
workflowInitialStep(String workflowName)
Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.
|
WorkflowSteps |
workflowSteps(String workflowName)
Go to 'Workflow steps' page for given workflow
|
@Deprecated public ViewWorkflowsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel, Navigation navigation)
@Inject public ViewWorkflowsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, Navigation navigation)
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 workflowpublic WorkflowDesignerPage edit(String workflowName)
edit
in interface ViewWorkflows
public ViewWorkflows delete(String name)
delete
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 workflowpublic 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 workflowpublic ViewWorkflows launchDesigner(String workflowName)
ViewWorkflows
launchDesigner
in interface ViewWorkflows
workflowName
- name of the workflowpublic 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
public WorkflowInitialStep workflowInitialStep(String workflowName)
ViewWorkflows
workflowInitialStep
in interface ViewWorkflows
WorkflowInitialStep
Copyright © 2002-2018 Atlassian. All Rights Reserved.