com.atlassian.jira.functest.framework.admin
Class NotificationSchemesImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.admin.NotificationSchemesImpl
All Implemented Interfaces:
NotificationSchemes, Navigable<NotificationSchemes>, com.atlassian.jira.testkit.client.log.FuncTestLogger

public class NotificationSchemesImpl
extends AbstractFuncTestUtil
implements NotificationSchemes

Default implementation of NotificationSchemes.

Since:
v4.4

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
NotificationSchemesImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)
           
 
Method Summary
 EditNotifications addNotificationScheme(String name, String description)
          Add notification scheme with given name and description.
 EditNotifications editNotifications(int id)
          Edit notifications of a scheme with given id.
 NotificationSchemes goTo()
          Go there.
 
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationSchemesImpl

public NotificationSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
                               JIRAEnvironmentData environmentData,
                               int logIndentLevel)
Method Detail

goTo

public NotificationSchemes goTo()
Description copied from interface: Navigable
Go there.

Specified by:
goTo in interface Navigable<NotificationSchemes>
Returns:
this instance

addNotificationScheme

public EditNotifications addNotificationScheme(String name,
                                               String description)
Description copied from interface: NotificationSchemes
Add notification scheme with given name and description.

Specified by:
addNotificationScheme in interface NotificationSchemes
Parameters:
name - scheme name
description - scheme description
Returns:
edit notifications object for the created scheme

editNotifications

public EditNotifications editNotifications(int id)
Description copied from interface: NotificationSchemes
Edit notifications of a scheme with given id.

Specified by:
editNotifications in interface NotificationSchemes
Parameters:
id - ID of the scheme
Returns:
edit notifications instance for given scheme


Copyright © 2002-2012 Atlassian. All Rights Reserved.