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 -
Method Summary
Modifier and TypeMethodDescription@NotNull Capability
getCapability
(@NotNull Map<String, String[]> params) Returns a new capability given the action params mapabstract String
abstract String
@NotNull String
The display labelgetValueDescriptionKey
(@NotNull String key, @Nullable String value) Given the key and value, show any custom description for the valueValidate 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, 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
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
AbstractMultipleExecutableCapabilityTypeModule
public AbstractMultipleExecutableCapabilityTypeModule()
-
-
Method Details
-
getExecutableKindKey
-
getAdditionalCapabilityKeys
-
getCapabilityKindUndefinedKey
-
getLabel
Description copied from interface:CapabilityType
The display label- Specified by:
getLabel
in interfaceCapabilityType
- Overrides:
getLabel
in classAbstractExecutableCapabilityTypeModule
- Returns:
-
getExecutableKey
- Specified by:
getExecutableKey
in classAbstractExecutableCapabilityTypeModule
-
getExecutableTypes
-
getExecutableDescription
-
getValueDescriptionKey
public String getValueDescriptionKey(@NotNull @NotNull String key, @Nullable @Nullable String value) Description copied from interface:CapabilityType
Given the key and value, show any custom description for the value- Specified by:
getValueDescriptionKey
in interfaceCapabilityType
- Overrides:
getValueDescriptionKey
in classAbstractCapabilityTypeModule
- Returns:
-
validate
Description copied from interface:CapabilityType
Validate given an action params map.- Specified by:
validate
in interfaceCapabilityType
- Overrides:
validate
in classAbstractExecutableCapabilityTypeModule
- Returns:
- Map with errors. key = field name, value = error message
-
getCapability
Description copied from interface:CapabilityType
Returns a new capability given the action params map- Specified by:
getCapability
in interfaceCapabilityType
- Overrides:
getCapability
in classAbstractExecutableCapabilityTypeModule
-