org.apache.maven.continuum.web.action.notifier
Class MailProjectNotifierEditAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.maven.continuum.web.action.PlexusActionSupport
          extended by org.apache.maven.continuum.web.action.ContinuumActionSupport
              extended by org.apache.maven.continuum.web.action.notifier.AbstractNotifierEditActionSupport
                  extended by org.apache.maven.continuum.web.action.notifier.AbstractProjectNotifierEditAction
                      extended by org.apache.maven.continuum.web.action.notifier.MailProjectNotifierEditAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware

public class MailProjectNotifierEditAction
extends AbstractProjectNotifierEditAction

Action that edits a ProjectNotifier of type 'Mail' from the specified Project.

Since:
1.1
Version:
$Id: MailProjectNotifierEditAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
dateFormatter, ERROR_MSG_AUTHORIZATION_REQUIRED, ERROR_MSG_PROCESSING_AUTHORIZATION, RELEASE_ERROR, REQUIRES_AUTHENTICATION, REQUIRES_AUTHORIZATION
 
Fields inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
session
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
MailProjectNotifierEditAction()
           
 
Method Summary
 String getAddress()
           
protected  void initConfiguration(Map<String,String> configuration)
          Initialises the configuration map that the ProjectNotifier instance is to be inited with.
 boolean isCommitters()
           
 boolean isDevelopers()
           
 void setAddress(String address)
           
 void setCommitters(boolean committers)
           
 void setDevelopers(boolean developers)
           
protected  void setNotifierConfiguration(ProjectNotifier notifier)
          Sets the configuration for the specified ProjectNotifier instance.
 
Methods inherited from class org.apache.maven.continuum.web.action.notifier.AbstractProjectNotifierEditAction
checkAuthorization, getNotifier, getProjectGroupId, getProjectGroupName, getProjectId, saveNotifier, setProjectGroupId, setProjectId
 
Methods inherited from class org.apache.maven.continuum.web.action.notifier.AbstractNotifierEditActionSupport
edit, getNotifierId, getNotifierType, isFromGroupPage, isSendOnError, isSendOnFailure, isSendOnScmFailure, isSendOnSuccess, isSendOnWarning, save, setFromGroupPage, setNotifierId, setNotifierType, setSendOnError, setSendOnFailure, setSendOnScmFailure, setSendOnSuccess, setSendOnWarning
 
Methods inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
checkAddGroupBuildDefinitionAuthorization, checkAddProjectBuildDefinitionAuthorization, checkAddProjectGroupAuthorization, checkAddProjectGroupNotifierAuthorization, checkAddProjectNotifierAuthorization, checkAddProjectToGroupAuthorization, checkAuthorization, checkAuthorization, checkAuthorization, checkBuildProjectGroupAuthorization, checkBuildProjectInGroupAuthorization, checkManageConfigurationAuthorization, checkManageLocalRepositoriesAuthorization, checkManageQueuesAuthorization, checkManageSchedulesAuthorization, checkModifyGroupBuildDefinitionAuthorization, checkModifyProjectBuildDefinitionAuthorization, checkModifyProjectGroupAuthorization, checkModifyProjectGroupNotifierAuthorization, checkModifyProjectInGroupAuthorization, checkModifyProjectNotifierAuthorization, checkRemoveGroupBuildDefinitionAuthorization, checkRemoveProjectBuildDefinitionAuthorization, checkRemoveProjectFromGroupAuthorization, checkRemoveProjectGroupAuthorization, checkRemoveProjectGroupNotifierAuthorization, checkRemoveProjectNotifierAuthorization, checkViewProjectGroupAuthorization, checkViewReportsAuthorization, doDefault, execute, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, getUser, input, isAuthenticated, prepare, requiresAuthentication, setContinuum
 
Methods inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
setSession
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailProjectNotifierEditAction

public MailProjectNotifierEditAction()
Method Detail

initConfiguration

protected void initConfiguration(Map<String,String> configuration)
Description copied from class: AbstractNotifierEditActionSupport
Initialises the configuration map that the ProjectNotifier instance is to be inited with.

Specified by:
initConfiguration in class AbstractNotifierEditActionSupport
Parameters:
configuration - map of configuration key-value pairs.

setNotifierConfiguration

protected void setNotifierConfiguration(ProjectNotifier notifier)
Description copied from class: AbstractNotifierEditActionSupport
Sets the configuration for the specified ProjectNotifier instance.

Specified by:
setNotifierConfiguration in class AbstractNotifierEditActionSupport
Parameters:
notifier - The project notifier.
See Also:
AbstractNotifierEditActionSupport.initConfiguration(Map)

getAddress

public String getAddress()

setAddress

public void setAddress(String address)

isCommitters

public boolean isCommitters()

setCommitters

public void setCommitters(boolean committers)

isDevelopers

public boolean isDevelopers()

setDevelopers

public void setDevelopers(boolean developers)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.