com.atlassian.bamboo.v2.build.agent.capability
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, com.opensymphony.xwork.LocaleProvider, java.lang.Comparable<CapabilityType>
- Direct Known Subclasses:
- HgCapabilityTypeModule
public abstract class AbstractMultipleExecutableCapabilityTypeModule
- extends AbstractExecutableCapabilityTypeModule
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractExecutableCapabilityTypeModule |
addDefaultCapabilities, getCapabilityUndefinedKey, getDefaultWindowPaths, getExecutableFilename, getLocale, getMandatoryCapabilityKey, getParamValue, getText, getText, getText, getTextProvider, setI18nBeanFactory |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
AbstractMultipleExecutableCapabilityTypeModule
public AbstractMultipleExecutableCapabilityTypeModule()
getExecutableKindKey
public abstract java.lang.String getExecutableKindKey()
getAdditionalCapabilityKeys
public abstract java.util.List<java.lang.String> getAdditionalCapabilityKeys()
getCapabilityKindUndefinedKey
public abstract java.lang.String getCapabilityKindUndefinedKey()
getLabel
@NotNull
public java.lang.String getLabel(@NotNull
java.lang.String key)
- Description copied from interface:
CapabilityType
- The display label
- Specified by:
getLabel
in interface CapabilityType
- Overrides:
getLabel
in class AbstractExecutableCapabilityTypeModule
- Returns:
getExecutableKey
public java.lang.String getExecutableKey()
- Specified by:
getExecutableKey
in class AbstractExecutableCapabilityTypeModule
getExecutableTypes
public java.util.Map<java.lang.String,java.lang.String> getExecutableTypes()
getExecutableDescription
public java.lang.String getExecutableDescription(java.lang.String key)
getValueDescriptionKey
public java.lang.String getValueDescriptionKey(@NotNull
java.lang.String key,
@Nullable
java.lang.String value)
- Description copied from interface:
CapabilityType
- Given the key and value, show any custom description for the value
- Specified by:
getValueDescriptionKey
in interface CapabilityType
- Overrides:
getValueDescriptionKey
in class AbstractCapabilityTypeModule
- Returns:
validate
@NotNull
public java.util.Map<java.lang.String,java.lang.String> validate(@NotNull
java.util.Map<java.lang.String,java.lang.String[]> params)
- Description copied from interface:
CapabilityType
- Validate given an action params map.
- Specified by:
validate
in interface CapabilityType
- Overrides:
validate
in class AbstractExecutableCapabilityTypeModule
- Returns:
- Map with errors. key = field name, value = error message
getCapability
@NotNull
public Capability getCapability(@NotNull
java.util.Map<java.lang.String,java.lang.String[]> params)
- Description copied from interface:
CapabilityType
- Returns a new capability given the action params map
- Specified by:
getCapability
in interface CapabilityType
- Overrides:
getCapability
in class AbstractExecutableCapabilityTypeModule
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.