com.atlassian.bamboo.configuration.agent
Class CapabilityConfigurationSupport

java.lang.Object
  extended by com.opensymphony.xwork.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, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, 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:
ConfigureAgentCapability, ConfigureElasticCapability, ConfigureSharedCapability

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

See Also:
Serialized Form

Field Summary
protected  java.lang.String builderLabel
           
protected  java.lang.String builderPath
           
protected  CapabilityDefaultsHelper capabilityDefaultsHelper
           
protected  CapabilityHelper capabilityHelper
           
protected  java.lang.String capabilityKey
           
protected  CapabilitySet capabilitySet
           
protected  CapabilitySetManager capabilitySetManager
           
protected  java.lang.String capabilityType
           
protected  java.lang.String jdkLabel
           
protected  java.lang.String jdkPath
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CapabilityConfigurationSupport()
           
 
Method Summary
 java.lang.String getBuilderLabel()
           
 java.lang.String getBuilderPath()
           
 java.lang.String getCapabilityKey()
           
 CapabilitySet getCapabilitySet()
           
 CapabilityRequirementSetDecorator getCapabilitySetDecorator()
           
 java.lang.String getCapabilityType()
           
 java.lang.String getCapabilityType(Capability capability)
           
 java.util.Collection<CapabilityType> getCapabilityTypes()
           
 java.lang.String getJdkLabel()
           
 java.lang.String getJdkPath()
           
 CapabilitySet getSharedCapabilitySet()
           
 void setBuilderLabel(java.lang.String builderLabel)
           
 void setBuilderPath(java.lang.String builderPath)
           
 void setCapabilityDefaultsHelper(CapabilityDefaultsHelper capabilityDefaultsHelper)
           
 void setCapabilityHelper(CapabilityHelper capabilityHelper)
           
 void setCapabilityKey(java.lang.String capabilityKey)
           
 void setCapabilitySet(CapabilitySet capabilitySet)
           
 void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
           
 void setCapabilityType(java.lang.String capabilityType)
           
 void setJdkLabel(java.lang.String jdkLabel)
           
 void setJdkPath(java.lang.String jdkPath)
           
protected  boolean validateCapability()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, doDefault, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getPlan, getReturnUrl, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableJavascript, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, 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.opensymphony.xwork.Preparable
prepare
 
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

capabilitySet

protected CapabilitySet capabilitySet

capabilityKey

protected java.lang.String capabilityKey

capabilityType

protected java.lang.String capabilityType

jdkLabel

protected java.lang.String jdkLabel

jdkPath

protected java.lang.String jdkPath

builderLabel

protected java.lang.String builderLabel

builderPath

protected java.lang.String builderPath

capabilityHelper

protected CapabilityHelper capabilityHelper

capabilitySetManager

protected CapabilitySetManager capabilitySetManager

capabilityDefaultsHelper

protected CapabilityDefaultsHelper capabilityDefaultsHelper
Constructor Detail

CapabilityConfigurationSupport

public CapabilityConfigurationSupport()
Method Detail

validateCapability

protected boolean validateCapability()

getCapabilitySetDecorator

public CapabilityRequirementSetDecorator getCapabilitySetDecorator()

getCapabilityType

public java.lang.String getCapabilityType(Capability capability)

getCapabilityTypes

public java.util.Collection<CapabilityType> getCapabilityTypes()

getSharedCapabilitySet

public CapabilitySet getSharedCapabilitySet()

getCapabilityKey

public java.lang.String getCapabilityKey()

setCapabilityKey

public void setCapabilityKey(java.lang.String capabilityKey)

getCapabilityType

public java.lang.String getCapabilityType()

setCapabilityType

public void setCapabilityType(java.lang.String capabilityType)

setCapabilityHelper

public void setCapabilityHelper(CapabilityHelper capabilityHelper)

getJdkLabel

public java.lang.String getJdkLabel()

setJdkLabel

public void setJdkLabel(java.lang.String jdkLabel)

getJdkPath

public java.lang.String getJdkPath()

setJdkPath

public void setJdkPath(java.lang.String jdkPath)

getBuilderLabel

public java.lang.String getBuilderLabel()

setBuilderLabel

public void setBuilderLabel(java.lang.String builderLabel)

getBuilderPath

public java.lang.String getBuilderPath()

setBuilderPath

public void setBuilderPath(java.lang.String builderPath)

getCapabilitySet

public CapabilitySet getCapabilitySet()

setCapabilitySet

public void setCapabilitySet(CapabilitySet capabilitySet)

setCapabilitySetManager

public void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)

setCapabilityDefaultsHelper

public void setCapabilityDefaultsHelper(CapabilityDefaultsHelper capabilityDefaultsHelper)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.