public class

ViewServices

extends Object
implements FunctTestConstants
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.admin.ViewServices

Class Overview

Gives operations that can be called on the ViewServices page.

Summary

Nested Classes
class ViewServices.Service  
class ViewServices.UnableToAddServiceException  
[Expand]
Inherited Constants
From interface com.atlassian.jira.functest.framework.FunctTestConstants
[Expand]
Inherited Fields
From interface com.atlassian.jira.functest.framework.FunctTestConstants
Public Constructors
ViewServices(WebTester tester, Navigation navigation)
Public Methods
ViewServices add(ViewServices.Service service, String delayInMinutes)
Adds a service to JIRA with default configuration parameters.
void clickDelete(String serviceName)
Clicks the Delete link for the given service name.
void clickEdit(String serviceName)
Clicks the Edit link for the given service name.
EditService edit(ViewServices.Service service)
ViewServices goTo()
Navigates to the ViewServices page.
Set<ViewServices.Service> list()
Gets the set of service configurations displayed on the page.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ViewServices (WebTester tester, Navigation navigation)

Public Methods

public ViewServices add (ViewServices.Service service, String delayInMinutes)

Adds a service to JIRA with default configuration parameters.

Parameters
service The service to be added.
delayInMinutes the delay between runs of this service specified in minutes.
Returns
  • this instance of the view services page.
Throws
ViewServices.UnableToAddServiceException This is thrown if it was not possible to add the service.

public void clickDelete (String serviceName)

Clicks the Delete link for the given service name.

Parameters
serviceName The service name.

public void clickEdit (String serviceName)

Clicks the Edit link for the given service name.

Parameters
serviceName The service name.

public EditService edit (ViewServices.Service service)

public ViewServices goTo ()

Navigates to the ViewServices page.

Returns
  • this instance of the page.

public Set<ViewServices.Service> list ()

Gets the set of service configurations displayed on the page.

Returns
  • A set of service configurations.