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

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.AddProjectAction
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 AddProjectAction
extends ContinuumActionSupport

Version:
$Id: AddProjectAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Nick Gonzalez
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
AddProjectAction()
           
 
Method Summary
 String add()
           
 List<BuildDefinitionTemplate> getBuildDefinitionTemplates()
           
 int getBuildDefintionTemplateId()
           
 List<Profile> getProfiles()
           
 String getProjectDescription()
           
 int getProjectGroupId()
           
 String getProjectGroupName()
           
 Collection<ProjectGroup> getProjectGroups()
           
 String getProjectName()
           
 String getProjectScmPassword()
           
 String getProjectScmTag()
           
 String getProjectScmUrl()
           
 String getProjectScmUsername()
           
 String getProjectType()
           
 String getProjectVersion()
           
 int getSelectedProjectGroup()
           
 String input()
           
 boolean isDisableGroupSelection()
           
 boolean isEmptyProjectGroups()
           
 boolean isProjectScmUseCache()
           
 void setBuildDefinitionTemplates(List<BuildDefinitionTemplate> buildDefinitionTemplates)
           
 void setBuildDefintionTemplateId(int buildDefintionTemplateId)
           
 void setDisableGroupSelection(boolean disableGroupSelection)
           
 void setEmptyProjectGroups(boolean emptyProjectGroups)
           
 void setProfiles(List<Profile> profiles)
           
 void setProjectDescription(String projectDescription)
           
 void setProjectGroupId(int projectGroupId)
           
 void setProjectGroupName(String projectGroupName)
           
 void setProjectGroups(Collection<ProjectGroup> projectGroups)
           
 void setProjectName(String projectName)
           
 void setProjectScmPassword(String projectScmPassword)
           
 void setProjectScmTag(String projectScmTag)
           
 void setProjectScmUrl(String projectScmUrl)
           
 void setProjectScmUseCache(boolean projectScmUseCache)
           
 void setProjectScmUsername(String projectScmUsername)
           
 void setProjectType(String projectType)
           
 void setProjectVersion(String projectVersion)
           
 void setSelectedProjectGroup(int selectedProjectGroup)
           
 
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, 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

AddProjectAction

public AddProjectAction()
Method Detail

add

public String add()
           throws ContinuumException,
                  ProfileException,
                  BuildDefinitionServiceException
Throws:
ContinuumException
ProfileException
BuildDefinitionServiceException

input

public String input()
             throws ContinuumException,
                    ProfileException,
                    BuildDefinitionServiceException
Overrides:
input in class ContinuumActionSupport
Throws:
ContinuumException
ProfileException
BuildDefinitionServiceException

getProjectName

public String getProjectName()

setProjectName

public void setProjectName(String projectName)

getProjectScmPassword

public String getProjectScmPassword()

setProjectScmPassword

public void setProjectScmPassword(String projectScmPassword)

getProjectScmTag

public String getProjectScmTag()

setProjectScmTag

public void setProjectScmTag(String projectScmTag)

getProjectScmUrl

public String getProjectScmUrl()

setProjectScmUrl

public void setProjectScmUrl(String projectScmUrl)

getProjectScmUsername

public String getProjectScmUsername()

setProjectScmUsername

public void setProjectScmUsername(String projectScmUsername)

getProjectType

public String getProjectType()

setProjectType

public void setProjectType(String projectType)

getProjectVersion

public String getProjectVersion()

setProjectVersion

public void setProjectVersion(String projectVersion)

getProjectGroups

public Collection<ProjectGroup> getProjectGroups()

setProjectGroups

public void setProjectGroups(Collection<ProjectGroup> projectGroups)

getSelectedProjectGroup

public int getSelectedProjectGroup()

setSelectedProjectGroup

public void setSelectedProjectGroup(int selectedProjectGroup)

isDisableGroupSelection

public boolean isDisableGroupSelection()

setDisableGroupSelection

public void setDisableGroupSelection(boolean disableGroupSelection)

getProjectGroupName

public String getProjectGroupName()

setProjectGroupName

public void setProjectGroupName(String projectGroupName)

isProjectScmUseCache

public boolean isProjectScmUseCache()

setProjectScmUseCache

public void setProjectScmUseCache(boolean projectScmUseCache)

getProfiles

public List<Profile> getProfiles()

setProfiles

public void setProfiles(List<Profile> profiles)

getProjectGroupId

public int getProjectGroupId()

setProjectGroupId

public void setProjectGroupId(int projectGroupId)

getBuildDefintionTemplateId

public int getBuildDefintionTemplateId()

setBuildDefintionTemplateId

public void setBuildDefintionTemplateId(int buildDefintionTemplateId)

getBuildDefinitionTemplates

public List<BuildDefinitionTemplate> getBuildDefinitionTemplates()

setBuildDefinitionTemplates

public void setBuildDefinitionTemplates(List<BuildDefinitionTemplate> buildDefinitionTemplates)

getProjectDescription

public String getProjectDescription()

setProjectDescription

public void setProjectDescription(String projectDescription)

isEmptyProjectGroups

public boolean isEmptyProjectGroups()

setEmptyProjectGroups

public void setEmptyProjectGroups(boolean emptyProjectGroups)


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