|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork2.ActionSupport org.apache.maven.continuum.web.action.PlexusActionSupport org.apache.maven.continuum.web.action.ContinuumActionSupport org.apache.maven.continuum.web.action.AddMavenProjectAction org.apache.maven.continuum.web.action.AddMavenTwoProjectAction
public class AddMavenTwoProjectAction
Add a Maven 2 project to Continuum.
Field Summary | |
---|---|
static String |
ERROR_READING_POM_EXCEPTION_MESSAGE
|
static String |
ERROR_UPLOADING_M2_PROJECT_WITH_MODULES
|
static String |
FILE_SCHEME
|
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 | |
---|---|
AddMavenTwoProjectAction()
|
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 |
getCheckoutOption()
|
File |
getM2PomFile()
Deprecated. Use AddMavenProjectAction.getPomFile() instead |
String |
getM2PomUrl()
Deprecated. Use AddMavenProjectAction.getPomUrl() instead |
void |
setCheckoutOption(String checkoutOption)
|
void |
setM2PomFile(File pomFile)
Deprecated. Use AddMavenProjectAction.setPomFile(File) instead |
void |
setM2PomUrl(String pomUrl)
Deprecated. Use AddMavenProjectAction.setPomUrl(String) instead |
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 |
Field Detail |
---|
public static final String ERROR_UPLOADING_M2_PROJECT_WITH_MODULES
public static final String ERROR_READING_POM_EXCEPTION_MESSAGE
public static final String FILE_SCHEME
Constructor Detail |
---|
public AddMavenTwoProjectAction()
Method Detail |
---|
protected ContinuumProjectBuildingResult doExecute(String pomUrl, int selectedProjectGroup, boolean checkProtocol, boolean scmUseCache) throws ContinuumException
AddMavenProjectAction
doExecute
in class AddMavenProjectAction
pomUrl
- url of the pom specified by the userselectedProjectGroup
- project group id selected by the usercheckProtocol
- check if the protocol is allowed, use false if the pom is uploaded
ContinuumException
public File getM2PomFile()
AddMavenProjectAction.getPomFile()
instead
public void setM2PomFile(File pomFile)
AddMavenProjectAction.setPomFile(File)
instead
public String getM2PomUrl()
AddMavenProjectAction.getPomUrl()
instead
public void setM2PomUrl(String pomUrl)
AddMavenProjectAction.setPomUrl(String)
instead
public String getCheckoutOption()
public void setCheckoutOption(String checkoutOption)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |