com.atlassian.bamboo.pageobjects.pages.tasks
Class TaskConfigurationPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.tasks.TaskConfigurationPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
- Direct Known Subclasses:
- ConfigureEnvironmentTasksPage, JobTaskConfigurationPage
public abstract class TaskConfigurationPage
- extends AbstractBambooPage
Method Summary |
void |
addNewTask(String taskType,
Class<? extends TaskComponent> task,
String userDescription,
Map<String,String> config)
|
Iterable<TaskElement> |
allTasks()
|
void |
deleteTask(String taskName,
String taskDescription)
|
void |
editTask(String oldUserDescription,
Class<? extends TaskComponent> task,
String newUserDescription,
Map<String,String> config)
|
abstract String |
getCreateFormName()
|
TaskElement |
getTask(String taskName)
|
TaskElement |
getTask(String taskName,
String taskDescription)
|
abstract String |
getUpdateFormName()
|
String |
getUrl()
|
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskConfigurationPage
public TaskConfigurationPage()
getUrl
public String getUrl()
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
- Description copied from class:
AbstractBambooPage
- This must return an element whose presence indicates that we're on given page.
- Specified by:
indicator
in class AbstractBambooPage
- Returns:
- element uniquely identifying given page
getCreateFormName
public abstract String getCreateFormName()
getUpdateFormName
public abstract String getUpdateFormName()
addNewTask
public void addNewTask(String taskType,
Class<? extends TaskComponent> task,
String userDescription,
Map<String,String> config)
throws Exception
- Throws:
Exception
editTask
public void editTask(String oldUserDescription,
Class<? extends TaskComponent> task,
String newUserDescription,
Map<String,String> config)
deleteTask
public void deleteTask(String taskName,
String taskDescription)
allTasks
public Iterable<TaskElement> allTasks()
getTask
@NotNull
public TaskElement getTask(@NotNull
String taskName)
getTask
public TaskElement getTask(@NotNull
String taskName,
@NotNull
String taskDescription)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.