com.atlassian.bamboo.configuration.agent
Class CapabilityConfigurationSupport

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.configuration.agent.CapabilityConfigurationSupport
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, 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
Direct Known Subclasses:
ConfigureAgentCapability, ConfigureElasticCapability, ConfigureSharedCapability

public abstract class CapabilityConfigurationSupport
extends GlobalAdminAction
implements com.opensymphony.xwork2.Preparable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  String builderLabel
           
protected  String builderPath
           
protected  CapabilityDefaultsHelper capabilityDefaultsHelper
           
protected  CapabilityHelper capabilityHelper
           
protected  String capabilityKey
           
protected  CapabilitySet capabilitySet
           
protected  CapabilitySetManager capabilitySetManager
           
protected  String capabilityType
           
protected  String jdkLabel
           
protected  String jdkPath
           
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CapabilityConfigurationSupport()
           
 
Method Summary
 String getBuilderLabel()
           
 String getBuilderPath()
           
 CapabilityHelper getCapabilityHelper()
           
 String getCapabilityKey()
           
 CapabilitySet getCapabilitySet()
           
 CapabilityRequirementSetDecorator getCapabilitySetDecorator()
           
 String getCapabilityType()
           
 String getCapabilityType(Capability capability)
           
 Collection<CapabilityType> getCapabilityTypes()
           
 String getJdkLabel()
           
 String getJdkPath()
           
 CapabilitySet getSharedCapabilitySet()
           
 void setBuilderLabel(String builderLabel)
           
 void setBuilderPath(String builderPath)
           
 void setCapabilityKey(String capabilityKey)
           
 void setCapabilitySet(CapabilitySet capabilitySet)
           
 void setCapabilityType(String capabilityType)
           
 void setJdkLabel(String jdkLabel)
           
 void setJdkPath(String jdkPath)
           
protected  boolean validateCapability()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.xwork2.Preparable
prepare
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 

Field Detail

capabilitySet

protected CapabilitySet capabilitySet

capabilityKey

protected String capabilityKey

capabilityType

protected String capabilityType

jdkLabel

protected String jdkLabel

jdkPath

protected String jdkPath

builderLabel

protected String builderLabel

builderPath

protected String builderPath

capabilityHelper

@Autowired
protected CapabilityHelper capabilityHelper

capabilitySetManager

@Autowired
protected CapabilitySetManager capabilitySetManager

capabilityDefaultsHelper

@Autowired
protected CapabilityDefaultsHelper capabilityDefaultsHelper
Constructor Detail

CapabilityConfigurationSupport

public CapabilityConfigurationSupport()
Method Detail

validateCapability

protected boolean validateCapability()

getCapabilitySetDecorator

public CapabilityRequirementSetDecorator getCapabilitySetDecorator()

getCapabilityType

public String getCapabilityType(Capability capability)

getCapabilityTypes

public Collection<CapabilityType> getCapabilityTypes()

getSharedCapabilitySet

@Nullable
public CapabilitySet getSharedCapabilitySet()

getCapabilityKey

public String getCapabilityKey()

setCapabilityKey

public void setCapabilityKey(String capabilityKey)

getCapabilityType

public String getCapabilityType()

setCapabilityType

public void setCapabilityType(String capabilityType)

getCapabilityHelper

public CapabilityHelper getCapabilityHelper()

getJdkLabel

public String getJdkLabel()

setJdkLabel

public void setJdkLabel(String jdkLabel)

getJdkPath

public String getJdkPath()

setJdkPath

public void setJdkPath(String jdkPath)

getBuilderLabel

public String getBuilderLabel()

setBuilderLabel

public void setBuilderLabel(String builderLabel)

getBuilderPath

public String getBuilderPath()

setBuilderPath

public void setBuilderPath(String builderPath)

getCapabilitySet

public CapabilitySet getCapabilitySet()

setCapabilitySet

public void setCapabilitySet(CapabilitySet capabilitySet)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.