Class AbstractMultipleExecutableCapabilityTypeModule
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityType
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityTypeModule
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractExecutableCapabilityTypeModule
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractMultipleExecutableCapabilityTypeModule
-
- All Implemented Interfaces:
InitablePluginModule,BambooPluginModule,CapabilityDefaultsHelper,CapabilityType,CapabilityTypeModule,com.atlassian.core.i18n.I18nTextProvider,Comparable<CapabilityType>
- Direct Known Subclasses:
GitCapabilityTypeModule
public abstract class AbstractMultipleExecutableCapabilityTypeModule extends AbstractExecutableCapabilityTypeModule
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractExecutableCapabilityTypeModule
AGENT_CAPABILITY_TYPE_PREFIX
-
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.CapabilityDefaultsHelper
CAPABILITY_AGENT_ENVIRONMENT_PREFIX, CAPABILITY_BUILDER_PREFIX, CAPABILITY_BUILDER_TYPE
-
-
Constructor Summary
Constructors Constructor Description AbstractMultipleExecutableCapabilityTypeModule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<String>getAdditionalCapabilityKeys()@NotNull CapabilitygetCapability(@NotNull Map<String,String[]> params)Returns a new capability given the action params mapabstract StringgetCapabilityKindUndefinedKey()StringgetExecutableDescription(String key)StringgetExecutableKey()abstract StringgetExecutableKindKey()Map<String,String>getExecutableTypes()@NotNull StringgetLabel(@NotNull String key)The display labelStringgetValueDescriptionKey(@NotNull String key, @Nullable String value)Given the key and value, show any custom description for the value@NotNull Map<String,String>validate(@NotNull Map<String,String[]> params)Validate given an action params map.-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractExecutableCapabilityTypeModule
addDefaultCapabilities, getCapabilityUndefinedKey, getDefaultWindowPaths, getExecutableFilename, getMandatoryCapabilityKey, getParamValue, getText, getText, getText, getTextProvider, setTextProvider
-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityTypeModule
getCapabilityTypeKey, getCapabilityTypeLabel, getEditHtml, getExtraInfo, getNewKeyFromLabel, getSortOrder, init, isAllowRename, setTemplateRenderer
-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityType
compareTo, equals, getViewTypeAction, hashCode, toString, updatePlanForNewLabel, updateTasksForNewLabel
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.CapabilityType
getCapabilityTypeSpecificTaskConfigurationKey, getViewTypeAction, updatePlanForNewLabel
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getExecutableKindKey
public abstract String getExecutableKindKey()
-
getCapabilityKindUndefinedKey
public abstract String getCapabilityKindUndefinedKey()
-
getLabel
@NotNull public @NotNull String getLabel(@NotNull @NotNull String key)
Description copied from interface:CapabilityTypeThe display label- Specified by:
getLabelin interfaceCapabilityType- Overrides:
getLabelin classAbstractExecutableCapabilityTypeModule- Returns:
-
getExecutableKey
public String getExecutableKey()
- Specified by:
getExecutableKeyin classAbstractExecutableCapabilityTypeModule
-
getValueDescriptionKey
public String getValueDescriptionKey(@NotNull @NotNull String key, @Nullable @Nullable String value)
Description copied from interface:CapabilityTypeGiven the key and value, show any custom description for the value- Specified by:
getValueDescriptionKeyin interfaceCapabilityType- Overrides:
getValueDescriptionKeyin classAbstractCapabilityTypeModule- Returns:
-
validate
@NotNull public @NotNull Map<String,String> validate(@NotNull @NotNull Map<String,String[]> params)
Description copied from interface:CapabilityTypeValidate given an action params map.- Specified by:
validatein interfaceCapabilityType- Overrides:
validatein classAbstractExecutableCapabilityTypeModule- Returns:
- Map with errors. key = field name, value = error message
-
getCapability
@NotNull public @NotNull Capability getCapability(@NotNull @NotNull Map<String,String[]> params)
Description copied from interface:CapabilityTypeReturns a new capability given the action params map- Specified by:
getCapabilityin interfaceCapabilityType- Overrides:
getCapabilityin classAbstractExecutableCapabilityTypeModule
-
-