com.atlassian.bamboo.ww2.actions.build.admin
Class BuildConfigurationSupport

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.build.admin.BuildConfigurationSupport
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildConfigurationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, 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:
AbstractPermissionAction, ConfigureBuildArtifact, ConfigureBuildBuilder, ConfigureBuildDependencies, ConfigureBuildNotification, ConfigureBuildPostAction, ConfigureBuildRepository, ConfigureBuildRequirement, ConfigureChainCustomConfiguration, EnableMavenDepBulkAction, SaveConfig, SaveNewProject

public class BuildConfigurationSupport
extends BambooActionSupport
implements BuildConfigurationAware, DomainObjectSecurityAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected static java.lang.String BACK
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, chainManager, CONFIRM, cookieCutter, dashboardCachingManager, 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
BuildConfigurationSupport()
           
 
Method Summary
 BuildConfiguration getBuildConfiguration()
           
 java.lang.String getBuildConfigurationAsXml()
           
 java.lang.String getBuildKey()
           
 java.lang.String getNextButton()
           
 Plan getPlan()
           
protected  java.lang.String getReturnResult(java.lang.String result)
           
 java.lang.String getSaveNowButton()
           
 java.lang.Object getSecuredDomainObject()
           
protected  boolean isNextButtonClicked()
           
protected  boolean isSaveNowClicked()
           
protected  void savePlan()
           
 void setBuildConfiguration(BuildConfiguration buildConfiguration)
           
 void setBuildKey(java.lang.String buildKey)
           
 void setNextButton(java.lang.String nextButton)
           
 void setPlan(Plan plan)
           
 void setSaveNowButton(java.lang.String saveNowButton)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getChainManager, getConcurrentBuildsNumber, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getPlan, getReturnUrl, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setChainManager, setCheckBoxFields, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, 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
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider
getText
 

Field Detail

BACK

protected static final java.lang.String BACK
See Also:
Constant Field Values
Constructor Detail

BuildConfigurationSupport

public BuildConfigurationSupport()
Method Detail

getBuildConfiguration

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

setBuildConfiguration

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

getBuildConfigurationAsXml

public java.lang.String getBuildConfigurationAsXml()

getBuildKey

public java.lang.String getBuildKey()

setBuildKey

public void setBuildKey(java.lang.String buildKey)

getPlan

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

setPlan

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

getSecuredDomainObject

public java.lang.Object getSecuredDomainObject()
Specified by:
getSecuredDomainObject in interface DomainObjectSecurityAware
Overrides:
getSecuredDomainObject in class BambooActionSupport

savePlan

protected void savePlan()

getReturnResult

protected java.lang.String getReturnResult(java.lang.String result)

isSaveNowClicked

protected boolean isSaveNowClicked()

isNextButtonClicked

protected boolean isNextButtonClicked()

getSaveNowButton

public java.lang.String getSaveNowButton()

setSaveNowButton

public void setSaveNowButton(java.lang.String saveNowButton)

getNextButton

public java.lang.String getNextButton()

setNextButton

public void setNextButton(java.lang.String nextButton)


Copyright © 2010 Atlassian. All Rights Reserved.