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

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.admin.EditNotificationsImpl
All Implemented Interfaces:
EditNotifications, FuncTestLogger

public class EditNotificationsImpl
extends AbstractFuncTestUtil
implements EditNotifications

Default implementation of EditNotifications.

Since:
v4.4

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
EditNotificationsImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData, int logIndentLevel)
           
 
Method Summary
 EditNotifications addNotificationsForEvent(int eventId, NotificationType notificationType)
          Add simple (parameterless) notification type for given event ID.
 EditNotifications addNotificationsForEvent(int eventId, NotificationType notificationType, String paramValue)
          Add parameterized notification type for given event ID.
 int notificationSchemeId()
          ID of associated notification scheme.
 
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

EditNotificationsImpl

public EditNotificationsImpl(net.sourceforge.jwebunit.WebTester tester,
                             com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
                             int logIndentLevel)
Method Detail

notificationSchemeId

public int notificationSchemeId()
Description copied from interface: EditNotifications
ID of associated notification scheme.

Specified by:
notificationSchemeId in interface EditNotifications
Returns:
ID of the notification scheme

addNotificationsForEvent

public EditNotifications addNotificationsForEvent(int eventId,
                                                  NotificationType notificationType)
Description copied from interface: EditNotifications
Add simple (parameterless) notification type for given event ID.

Specified by:
addNotificationsForEvent in interface EditNotifications
Parameters:
eventId - ID of the event to add to
notificationType - notification type to add
Returns:
this instance
See Also:
NotificationType, DefaultIssueEvents

addNotificationsForEvent

public EditNotifications addNotificationsForEvent(int eventId,
                                                  NotificationType notificationType,
                                                  String paramValue)
Description copied from interface: EditNotifications
Add parameterized notification type for given event ID.

Specified by:
addNotificationsForEvent in interface EditNotifications
Parameters:
eventId - ID of the event to add to
notificationType - notification types to add
paramValue - form parameter value associated with given notification type
Returns:
this instance
See Also:
NotificationType, DefaultIssueEvents


Copyright © 2002-2011 Atlassian. All Rights Reserved.