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_PREFIXFields 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 CapabilitygetCapability(@NotNull Map<String, String[]> params) Returns a new capability given the action params mapabstract Stringabstract String@NotNull StringThe 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, setTextProviderMethods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityTypeModule
getCapabilityTypeKey, getCapabilityTypeLabel, getEditHtml, getExtraInfo, getNewKeyFromLabel, getSortOrder, init, isAllowRename, setTemplateRendererMethods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityType
compareTo, equals, getViewTypeAction, hashCode, toString, updatePlanForNewLabel, updateTasksForNewLabelMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.CapabilityType
getCapabilityTypeSpecificTaskConfigurationKey, getViewTypeAction, updatePlanForNewLabelMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
AbstractMultipleExecutableCapabilityTypeModule
public AbstractMultipleExecutableCapabilityTypeModule()
-
-
Method Details
-
getExecutableKindKey
-
getAdditionalCapabilityKeys
-
getCapabilityKindUndefinedKey
-
getLabel
Description copied from interface:CapabilityTypeThe display label- Specified by:
getLabelin interfaceCapabilityType- Overrides:
getLabelin classAbstractExecutableCapabilityTypeModule- Returns:
-
getExecutableKey
- Specified by:
getExecutableKeyin classAbstractExecutableCapabilityTypeModule
-
getExecutableTypes
-
getExecutableDescription
-
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
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
Description copied from interface:CapabilityTypeReturns a new capability given the action params map- Specified by:
getCapabilityin interfaceCapabilityType- Overrides:
getCapabilityin classAbstractExecutableCapabilityTypeModule
-