Class ViewServices

java.lang.Object
com.atlassian.jira.functest.framework.admin.ViewServices
All Implemented Interfaces:
FunctTestConstants

public class ViewServices extends Object implements FunctTestConstants
Gives operations that can be called on the ViewServices page.
Since:
v4.0
  • Constructor Details

    • ViewServices

      @Inject public ViewServices(net.sourceforge.jwebunit.WebTester tester, Navigation navigation)
  • Method Details

    • goTo

      public ViewServices goTo()
      Navigates to the ViewServices page.
      Returns:
      this instance of the page.
    • add

      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.
    • edit

      public EditService edit(ViewServices.Service service)
    • list

      public Set<ViewServices.Service> list()
      Gets the set of service configurations displayed on the page.
      Returns:
      A set of service configurations.
    • getIdForServiceName

      public long getIdForServiceName(String name)
      Gets the id of a named service
    • clickEdit

      public void clickEdit(String serviceName)
      Clicks the Edit link for the given service name.
      Parameters:
      serviceName - The service name.
    • clickDelete

      public void clickDelete(String serviceName)
      Clicks the Delete link for the given service name.
      Parameters:
      serviceName - The service name.