public interface ViewWorkflows
Modifier and Type | Interface and Description |
---|---|
static class |
ViewWorkflows.WorkflowItem |
static class |
ViewWorkflows.WorkflowItemsList |
static class |
ViewWorkflows.WorkflowState |
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 workflowName) |
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)
Deprecated.
Now the edit button always takes you to the workflow designer.
Use
edit(String) instead |
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
|
ViewWorkflows goTo()
ViewWorkflows addWorkflow(String name, String description)
name
- name of the new workflowdescription
- description of the new workflowWorkflowDesignerPage edit(String workflowName)
ViewWorkflows delete(String workflowName)
WorkflowSteps createDraft(String name)
PublishDraftPage publishDraft(String name)
WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName)
nameToCopy
- name of the workflow to copy (must exist)newWorkflowName
- name of the new workflowWorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName, String newWorkflowDescription)
WorkflowSteps workflowSteps(String workflowName)
workflowName
- name of the workflow@Deprecated ViewWorkflows launchDesigner(String workflowName)
edit(String)
insteadworkflowName
- name of the workflowboolean isImportWorkflowFromXmlButtonPresent()
ViewWorkflows.WorkflowItemsList active()
ViewWorkflows.WorkflowItemsList inactive()
boolean isEditable(String workflowName)
ViewWorkflowPage view(String workflowName)
WorkflowInitialStep workflowInitialStep(String workflowName)
workflowName
- WorkflowInitialStep
Copyright © 2002-2019 Atlassian. All Rights Reserved.