org.apache.maven.continuum.web.action.admin
Class ConfigurationAction

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.admin.ConfigurationAction
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, org.codehaus.redback.integration.interceptor.SecureAction

public class ConfigurationAction
extends ContinuumActionSupport
implements com.opensymphony.xwork2.Preparable, org.codehaus.redback.integration.interceptor.SecureAction

Version:
$Id: ConfigurationAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse
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
ConfigurationAction()
           
 
Method Summary
 String getBaseUrl()
           
 String getBuildOutputDirectory()
           
 String getDeploymentRepositoryDirectory()
           
 int getNumberOfAllowedBuildsinParallel()
           
 String getReleaseOutputDirectory()
           
 org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
           
 String getSharedSecretPassword()
           
 String getWorkingDirectory()
           
 String input()
           
 boolean isDistributedBuildEnabled()
           
 boolean isRequireReleaseOutput()
           
 void prepare()
           
 String save()
           
 void setBaseUrl(String baseUrl)
           
 void setBuildOutputDirectory(String buildOutputDirectory)
           
 void setDeploymentRepositoryDirectory(String deploymentRepositoryDirectory)
           
 void setDistributedBuildEnabled(boolean distributedBuildEnabled)
           
 void setNumberOfAllowedBuildsinParallel(int numberOfAllowedBuildsinParallel)
           
 void setReleaseOutputDirectory(String releaseOutputDirectory)
           
 void setRequireReleaseOutput(boolean requireReleaseOutput)
           
 void setSharedSecretPassword(String sharedSecretPassword)
           
 void setWorkingDirectory(String workingDirectory)
           
 
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, execute, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, getUser, isAuthenticated, 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

ConfigurationAction

public ConfigurationAction()
Method Detail

prepare

public void prepare()
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Overrides:
prepare in class ContinuumActionSupport

input

public String input()
Overrides:
input in class ContinuumActionSupport

save

public String save()
            throws ConfigurationStoringException,
                   ContinuumStoreException,
                   ContinuumConfigurationException
Throws:
ConfigurationStoringException
ContinuumStoreException
ContinuumConfigurationException

getWorkingDirectory

public String getWorkingDirectory()

setWorkingDirectory

public void setWorkingDirectory(String workingDirectory)

getDeploymentRepositoryDirectory

public String getDeploymentRepositoryDirectory()

setDeploymentRepositoryDirectory

public void setDeploymentRepositoryDirectory(String deploymentRepositoryDirectory)

getBuildOutputDirectory

public String getBuildOutputDirectory()

setBuildOutputDirectory

public void setBuildOutputDirectory(String buildOutputDirectory)

getBaseUrl

public String getBaseUrl()

setBaseUrl

public void setBaseUrl(String baseUrl)

getSecureActionBundle

public org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
                                                                                      throws org.codehaus.redback.integration.interceptor.SecureActionException
Specified by:
getSecureActionBundle in interface org.codehaus.redback.integration.interceptor.SecureAction
Throws:
org.codehaus.redback.integration.interceptor.SecureActionException

getReleaseOutputDirectory

public String getReleaseOutputDirectory()

setReleaseOutputDirectory

public void setReleaseOutputDirectory(String releaseOutputDirectory)

isRequireReleaseOutput

public boolean isRequireReleaseOutput()

setRequireReleaseOutput

public void setRequireReleaseOutput(boolean requireReleaseOutput)

getNumberOfAllowedBuildsinParallel

public int getNumberOfAllowedBuildsinParallel()

setNumberOfAllowedBuildsinParallel

public void setNumberOfAllowedBuildsinParallel(int numberOfAllowedBuildsinParallel)

isDistributedBuildEnabled

public boolean isDistributedBuildEnabled()

setDistributedBuildEnabled

public void setDistributedBuildEnabled(boolean distributedBuildEnabled)

setSharedSecretPassword

public void setSharedSecretPassword(String sharedSecretPassword)

getSharedSecretPassword

public String getSharedSecretPassword()


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