org.apache.maven.continuum.web.action
Class ReleaseProjectAction

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.ReleaseProjectAction
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 ReleaseProjectAction
extends ContinuumActionSupport

Version:
$Id: ReleaseProjectAction.java 1392472 2012-10-01 17:46:11Z brett $
Author:
Edwin Punzalan
See Also:
Serialized Form

Field Summary
protected static String REQUIRES_CONFIGURATION
           
 
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
ReleaseProjectAction()
           
 
Method Summary
 String execute()
           
 String getGoal()
           
 String getPreparedReleaseId()
           
 Map<String,String> getPreparedReleases()
           
 Project getProject()
           
 String getProjectGroupName()
           
 int getProjectId()
           
 String getProjectName()
           
 List getReleaseList()
           
 String getScmUrl()
           
 String promptReleaseGoal()
           
 void setGoal(String goal)
           
 void setPreparedReleaseId(String preparedReleaseId)
           
 void setPreparedReleases(Map<String,String> preparedReleases)
           
 void setProject(Project project)
           
 void setProjectId(int projectId)
           
 void setProjectName(String projectName)
           
 void setReleaseList(List releaseList)
           
 void setScmUrl(String scmUrl)
           
 
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, 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
 

Field Detail

REQUIRES_CONFIGURATION

protected static final String REQUIRES_CONFIGURATION
See Also:
Constant Field Values
Constructor Detail

ReleaseProjectAction

public ReleaseProjectAction()
Method Detail

promptReleaseGoal

public String promptReleaseGoal()
                         throws Exception
Throws:
Exception

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class ContinuumActionSupport
Throws:
Exception

getProjectId

public int getProjectId()

setProjectId

public void setProjectId(int projectId)

getGoal

public String getGoal()

setGoal

public void setGoal(String goal)

getProject

public Project getProject()

setProject

public void setProject(Project project)

getScmUrl

public String getScmUrl()

setScmUrl

public void setScmUrl(String scmUrl)

getReleaseList

public List getReleaseList()

setReleaseList

public void setReleaseList(List releaseList)

getPreparedReleaseId

public String getPreparedReleaseId()

setPreparedReleaseId

public void setPreparedReleaseId(String preparedReleaseId)

getProjectName

public String getProjectName()

setProjectName

public void setProjectName(String projectName)

getProjectGroupName

public String getProjectGroupName()
                           throws ContinuumException
Throws:
ContinuumException

getPreparedReleases

public Map<String,String> getPreparedReleases()

setPreparedReleases

public void setPreparedReleases(Map<String,String> preparedReleases)


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