com.atlassian.bamboo.ww2.actions.admin
Class ImportMavenPlanAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.admin.ImportMavenPlanAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildConfigurationAware, NavigationAware, DomainObjectSecurityAware, GlobalCreatePlanSecurityAware, GlobalReadSecurityAware, PlanAware, PlanLimitAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.Preparable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ImportMavenPlanCheckoutPomAction, ImportMavenPlanCreatePlanAction

public abstract class ImportMavenPlanAction
extends BambooActionSupport
implements GlobalCreatePlanSecurityAware, BuildConfigurationAware, com.opensymphony.xwork.Preparable, PlanLimitAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  BuildConfiguration buildConfiguration
           
protected  ChainCreationService chainCreationService
           
protected  java.lang.String existingProjectKey
           
protected static java.lang.String PLAN_CREATION_DENIED_ERROR
           
protected  boolean planLimitReached
           
protected  PlanValidationService planValidationService
           
protected  java.lang.String projectKey
           
protected  java.lang.String projectName
           
protected  RepositoryConfigHelper repositoryConfigHelper
           
protected  RepositoryManager repositoryManager
           
protected  TaskManager taskManager
           
protected  UIConfigBean uiConfigBean
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, bambooUserManager, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ImportMavenPlanAction()
           
 
Method Summary
 BuildConfiguration getBuildConfiguration()
           
protected  java.lang.String getBuildKey()
           
protected  java.lang.String getBuildName()
           
 java.lang.String getExistingProjectKey()
           
 java.util.List<MavenPomAccessorCapableRepository> getFilteredRepositories()
           
 Plan getPlan()
           
 java.lang.String getProjectKey()
           
 java.lang.String getProjectName()
           
 java.util.List<Repository> getRepositories()
           
protected  java.lang.String getSelectedRepositoryKey()
           
protected  java.lang.String getSelectedWebRepositoryViewerKey()
           
 UIConfigBean getUiConfigBean()
           
 boolean isPlanLimitReached()
          Allows UI to check whether the plan limit has been reached
 void prepare()
           
 void setBuildConfiguration(BuildConfiguration buildConfiguration)
           
 void setChainCreationService(ChainCreationService chainCreationService)
           
 void setExistingProjectKey(java.lang.String existingProjectKey)
           
 void setPlan(Plan plan)
           
 void setPlanLimitReached()
          Called if the interceptor detects that the plan limit has been exhausted.
 void setPlanValidationService(PlanValidationService planValidationService)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setProjectName(java.lang.String projectName)
           
 void setRepositoryConfigHelper(RepositoryConfigHelper repositoryConfigHelper)
           
 void setRepositoryManager(RepositoryManager repositoryManager)
           
 void setTaskManager(TaskManager taskManager)
           
 void setUiConfigBean(UIConfigBean uiConfigBean)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware
getSecuredDomainObject
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Field Detail

PLAN_CREATION_DENIED_ERROR

protected static final java.lang.String PLAN_CREATION_DENIED_ERROR
See Also:
Constant Field Values

existingProjectKey

protected java.lang.String existingProjectKey

projectKey

protected java.lang.String projectKey

projectName

protected java.lang.String projectName

planLimitReached

protected boolean planLimitReached

buildConfiguration

protected BuildConfiguration buildConfiguration

taskManager

protected TaskManager taskManager

planValidationService

protected PlanValidationService planValidationService

repositoryManager

protected RepositoryManager repositoryManager

uiConfigBean

protected UIConfigBean uiConfigBean

chainCreationService

protected ChainCreationService chainCreationService

repositoryConfigHelper

protected RepositoryConfigHelper repositoryConfigHelper
Constructor Detail

ImportMavenPlanAction

public ImportMavenPlanAction()
Method Detail

prepare

public void prepare()
             throws java.lang.Exception
Specified by:
prepare in interface com.opensymphony.xwork.Preparable
Throws:
java.lang.Exception

isPlanLimitReached

public boolean isPlanLimitReached()
Description copied from interface: PlanLimitAware
Allows UI to check whether the plan limit has been reached

Specified by:
isPlanLimitReached in interface PlanLimitAware
Returns:
true if the plan limit has been reached or not.

setPlanLimitReached

public void setPlanLimitReached()
Description copied from interface: PlanLimitAware
Called if the interceptor detects that the plan limit has been exhausted. Its up to the actions as to how they react

Specified by:
setPlanLimitReached in interface PlanLimitAware

getPlan

public Plan getPlan()
Specified by:
getPlan in interface PlanAware

setPlan

public void setPlan(Plan plan)
Specified by:
setPlan in interface PlanAware

getBuildConfiguration

public BuildConfiguration getBuildConfiguration()
Specified by:
getBuildConfiguration in interface BuildConfigurationAware

setBuildConfiguration

public void setBuildConfiguration(BuildConfiguration buildConfiguration)
Specified by:
setBuildConfiguration in interface BuildConfigurationAware

setPlanValidationService

public void setPlanValidationService(PlanValidationService planValidationService)

setRepositoryManager

public void setRepositoryManager(RepositoryManager repositoryManager)

setTaskManager

public void setTaskManager(TaskManager taskManager)

getRepositories

public java.util.List<Repository> getRepositories()

getFilteredRepositories

public java.util.List<MavenPomAccessorCapableRepository> getFilteredRepositories()

getSelectedRepositoryKey

protected java.lang.String getSelectedRepositoryKey()

getSelectedWebRepositoryViewerKey

protected java.lang.String getSelectedWebRepositoryViewerKey()

getBuildKey

protected java.lang.String getBuildKey()

getBuildName

protected java.lang.String getBuildName()

getExistingProjectKey

public java.lang.String getExistingProjectKey()

setExistingProjectKey

public void setExistingProjectKey(java.lang.String existingProjectKey)

getProjectKey

public java.lang.String getProjectKey()

setProjectKey

public void setProjectKey(java.lang.String projectKey)

getProjectName

public java.lang.String getProjectName()

setProjectName

public void setProjectName(java.lang.String projectName)

getUiConfigBean

public UIConfigBean getUiConfigBean()

setUiConfigBean

public void setUiConfigBean(UIConfigBean uiConfigBean)

setRepositoryConfigHelper

public void setRepositoryConfigHelper(RepositoryConfigHelper repositoryConfigHelper)

setChainCreationService

public void setChainCreationService(ChainCreationService chainCreationService)


Copyright © 2011 Atlassian. All Rights Reserved.