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

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.AddMavenProjectAction
                  extended by org.apache.maven.continuum.web.action.AddMavenOneProjectAction
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.ServletRequestAware, org.apache.struts2.interceptor.SessionAware

public class AddMavenOneProjectAction
extends AddMavenProjectAction

Add a Maven 1 project to Continuum.

Version:
$Id: AddMavenOneProjectAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Nick Gonzalez, Carlos Sanchez
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
AddMavenOneProjectAction()
           
 
Method Summary
protected  ContinuumProjectBuildingResult doExecute(String pomUrl, int selectedProjectGroup, boolean checkProtocol, boolean scmUseCache)
          Subclasses must implement this method calling the appropiate operation on the continuum service.
 String getM1Pom()
          Deprecated. Use AddMavenProjectAction.getPom() instead
 File getM1PomFile()
          Deprecated. Use AddMavenProjectAction.getPomFile() instead
 String getM1PomUrl()
          Deprecated. Use AddMavenProjectAction.getPomUrl() instead
 void setM1Pom(String pom)
          Deprecated. Use AddMavenProjectAction.setPom(String) instead
 void setM1PomFile(File pomFile)
          Deprecated. Use AddMavenProjectAction.setPomFile(File) instead
 void setM1PomUrl(String pomUrl)
          Deprecated. Use AddMavenProjectAction.setPomUrl(String) instead
 
Methods inherited from class org.apache.maven.continuum.web.action.AddMavenProjectAction
doDefault, execute, getBuildDefinitionTemplateId, getBuildDefinitionTemplates, getErrorMessages, getPom, getPomFile, getPomUrl, getProjectGroupId, getProjectGroupName, getProjectGroups, getScmUsername, getSelectedProjectGroup, hidePasswordInUrl, input, isDisableGroupSelection, isScmUseCache, setBuildDefinitionTemplateId, setBuildDefinitionTemplates, setDisableGroupSelection, setErrorMessages, setPom, setPomFile, setPomUrl, setProjectGroupId, setProjectGroupName, setScmPassword, setScmUseCache, setScmUsername, setSelectedProjectGroup, setServletRequest
 
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, 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, 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

AddMavenOneProjectAction

public AddMavenOneProjectAction()
Method Detail

doExecute

protected ContinuumProjectBuildingResult doExecute(String pomUrl,
                                                   int selectedProjectGroup,
                                                   boolean checkProtocol,
                                                   boolean scmUseCache)
                                            throws ContinuumException
Description copied from class: AddMavenProjectAction
Subclasses must implement this method calling the appropiate operation on the continuum service.

Specified by:
doExecute in class AddMavenProjectAction
Parameters:
pomUrl - url of the pom specified by the user
selectedProjectGroup - project group id selected by the user
checkProtocol - check if the protocol is allowed, use false if the pom is uploaded
Returns:
result of adding the pom to continuum
Throws:
ContinuumException

getM1Pom

public String getM1Pom()
Deprecated. Use AddMavenProjectAction.getPom() instead


setM1Pom

public void setM1Pom(String pom)
Deprecated. Use AddMavenProjectAction.setPom(String) instead


getM1PomFile

public File getM1PomFile()
Deprecated. Use AddMavenProjectAction.getPomFile() instead


setM1PomFile

public void setM1PomFile(File pomFile)
Deprecated. Use AddMavenProjectAction.setPomFile(File) instead


getM1PomUrl

public String getM1PomUrl()
Deprecated. Use AddMavenProjectAction.getPomUrl() instead


setM1PomUrl

public void setM1PomUrl(String pomUrl)
Deprecated. Use AddMavenProjectAction.setPomUrl(String) instead



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