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

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.ReleasePrepareAction
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 ReleasePrepareAction
extends AbstractReleaseAction

Version:
$Id: ReleasePrepareAction.java 1395451 2012-10-08 05:06:18Z 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
ReleasePrepareAction()
           
 
Method Summary
 String checkProgress()
           
 String execute()
           
 String getArguments()
           
 List<String> getDevVersions()
           
 ContinuumReleaseManagerListener getListener()
           
 ReleaseListenerSummary getListenerSummary()
           
 String getName()
           
 String getPrepareGoals()
           
 int getProfileId()
           
 List<Profile> getProfiles()
           
 String getProjectGroupName()
           
 int getProjectId()
           
 List<String> getProjectKeys()
           
 List<Map<String,String>> getProjects()
           
 String getReleaseId()
           
 List<String> getRelVersions()
           
 org.apache.maven.shared.release.ReleaseResult getResult()
           
 String getScmCommentPrefix()
           
 String getScmPassword()
           
 String getScmTag()
           
 String getScmTagBase()
           
 String getScmUsername()
           
 String input()
           
 boolean isAddSchema()
           
 boolean isAutoVersionSubmodules()
           
 boolean isScmUseEditMode()
           
 void setAddSchema(boolean addSchema)
           
 void setArguments(String arguments)
           
 void setAutoVersionSubmodules(boolean autoVersionSubmodules)
           
 void setDevVersions(List<String> devVersions)
           
 void setListener(DefaultReleaseManagerListener listener)
           
 void setListenerSummary(ReleaseListenerSummary listenerSummary)
           
 void setName(String name)
           
 void setPrepareGoals(String prepareGoals)
           
 void setProfileId(int profileId)
           
 void setProfiles(List<Profile> profiles)
           
 void setProjectId(int projectId)
           
 void setProjectKeys(List<String> projectKeys)
           
 void setProjects(List<Map<String,String>> projects)
           
 void setReleaseId(String releaseId)
           
 void setRelVersions(List<String> relVersions)
           
 void setResult(org.apache.maven.shared.release.ReleaseResult result)
           
 void setScmCommentPrefix(String scmCommentPrefix)
           
 void setScmPassword(String scmPassword)
           
 void setScmTag(String scmTag)
           
 void setScmTagBase(String scmTagBase)
           
 void setScmUseEditMode(boolean scmUseEditMode)
           
 void setScmUsername(String scmUsername)
           
 void validate()
           
 String viewResult()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleasePrepareAction

public ReleasePrepareAction()
Method Detail

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

viewResult

public String viewResult()
                  throws Exception
Throws:
Exception

checkProgress

public String checkProgress()
                     throws Exception
Throws:
Exception

getProjectKeys

public List<String> getProjectKeys()

setProjectKeys

public void setProjectKeys(List<String> projectKeys)

getDevVersions

public List<String> getDevVersions()

setDevVersions

public void setDevVersions(List<String> devVersions)

getRelVersions

public List<String> getRelVersions()

setRelVersions

public void setRelVersions(List<String> relVersions)

getProjectId

public int getProjectId()

setProjectId

public void setProjectId(int projectId)

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)

getProjects

public List<Map<String,String>> getProjects()

setProjects

public void setProjects(List<Map<String,String>> projects)

getListener

public ContinuumReleaseManagerListener getListener()

setListener

public void setListener(DefaultReleaseManagerListener listener)

getName

public String getName()

setName

public void setName(String name)

getReleaseId

public String getReleaseId()

setReleaseId

public void setReleaseId(String releaseId)

getResult

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

setResult

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

getPrepareGoals

public String getPrepareGoals()

setPrepareGoals

public void setPrepareGoals(String prepareGoals)

getArguments

public String getArguments()

setArguments

public void setArguments(String arguments)

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork2.Validateable
Overrides:
validate in class com.opensymphony.xwork2.ActionSupport

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)

isScmUseEditMode

public boolean isScmUseEditMode()

setScmUseEditMode

public void setScmUseEditMode(boolean scmUseEditMode)

getScmCommentPrefix

public String getScmCommentPrefix()

setScmCommentPrefix

public void setScmCommentPrefix(String scmCommentPrefix)

isAutoVersionSubmodules

public boolean isAutoVersionSubmodules()

setAutoVersionSubmodules

public void setAutoVersionSubmodules(boolean autoVersionSubmodules)

isAddSchema

public boolean isAddSchema()

setAddSchema

public void setAddSchema(boolean addSchema)

getListenerSummary

public ReleaseListenerSummary getListenerSummary()

setListenerSummary

public void setListenerSummary(ReleaseListenerSummary listenerSummary)


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