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

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.continuum.web.action.AbstractReleaseAction
                  extended by org.apache.maven.continuum.web.action.ReleasePerformAction
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 ReleasePerformAction
extends AbstractReleaseAction

Version:
$Id: ReleasePerformAction.java 1395456 2012-10-08 05:55:39Z brett $
Author:
Edwin Punzalan
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
ReleasePerformAction()
           
 
Method Summary
 String execute()
           
 String executeFromScm()
           
 String getArguments()
           
 String getGoals()
           
 ContinuumReleaseManagerListener getListener()
           
 int getProfileId()
           
 List<Profile> getProfiles()
           
 String getProjectGroupName()
           
 int getProjectId()
           
 String getReleaseId()
           
 org.apache.maven.shared.release.ReleaseResult getResult()
           
 String getScmPassword()
           
 String getScmTag()
           
 String getScmTagBase()
           
 String getScmUrl()
           
 String getScmUsername()
           
 String input()
           
 String inputFromScm()
           
 boolean isUseReleaseProfile()
           
 void setArguments(String arguments)
           
 void setGoals(String goals)
           
 void setListener(ContinuumReleaseManagerListener listener)
           
 void setProfileId(int profileId)
           
 void setProfiles(List<Profile> profiles)
           
 void setProjectId(int projectId)
           
 void setReleaseId(String releaseId)
           
 void setResult(org.apache.maven.shared.release.ReleaseResult result)
           
 void setScmPassword(String scmPassword)
           
 void setScmTag(String scmTag)
           
 void setScmTagBase(String scmTagBase)
           
 void setScmUrl(String scmUrl)
           
 void setScmUsername(String scmUsername)
           
 void setUseReleaseProfile(boolean useReleaseProfile)
           
 
Methods inherited from class org.apache.continuum.web.action.AbstractReleaseAction
getEnvironments
 
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, 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

ReleasePerformAction

public ReleasePerformAction()
Method Detail

inputFromScm

public String inputFromScm()
                    throws Exception
Throws:
Exception

input

public String input()
             throws Exception
Overrides:
input in class ContinuumActionSupport
Throws:
Exception

execute

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

executeFromScm

public String executeFromScm()
                      throws Exception
Throws:
Exception

getReleaseId

public String getReleaseId()

setReleaseId

public void setReleaseId(String releaseId)

getScmUrl

public String getScmUrl()

setScmUrl

public void setScmUrl(String scmUrl)

getScmUsername

public String getScmUsername()

setScmUsername

public void setScmUsername(String scmUsername)

getScmPassword

public String getScmPassword()

setScmPassword

public void setScmPassword(String scmPassword)

getScmTag

public String getScmTag()

setScmTag

public void setScmTag(String scmTag)

getScmTagBase

public String getScmTagBase()

setScmTagBase

public void setScmTagBase(String scmTagBase)

getGoals

public String getGoals()

setGoals

public void setGoals(String goals)

isUseReleaseProfile

public boolean isUseReleaseProfile()

setUseReleaseProfile

public void setUseReleaseProfile(boolean useReleaseProfile)

getListener

public ContinuumReleaseManagerListener getListener()

setListener

public void setListener(ContinuumReleaseManagerListener listener)

getResult

public org.apache.maven.shared.release.ReleaseResult getResult()

setResult

public void setResult(org.apache.maven.shared.release.ReleaseResult result)

getProjectId

public int getProjectId()

setProjectId

public void setProjectId(int projectId)

getProjectGroupName

public String getProjectGroupName()
                           throws ContinuumException
Throws:
ContinuumException

getProfiles

public List<Profile> getProfiles()

setProfiles

public void setProfiles(List<Profile> profiles)

getProfileId

public int getProfileId()

setProfileId

public void setProfileId(int profileId)

getArguments

public String getArguments()

setArguments

public void setArguments(String arguments)


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