Package com.atlassian.bamboo.task
Class TaskExecutableTypeImpl
- java.lang.Object
-
- com.atlassian.bamboo.task.TaskExecutableTypeImpl
-
- All Implemented Interfaces:
TaskExecutableType
@Internal public class TaskExecutableTypeImpl extends Object implements TaskExecutableType
-
-
Constructor Summary
Constructors Constructor Description TaskExecutableTypeImpl(@NotNull org.dom4j.Attribute key, @Nullable org.dom4j.Attribute nameKey, @Nullable org.dom4j.Attribute pathHelpKey, @Nullable org.dom4j.Attribute primaryCapabilityProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getExecutableKey()
The short "key" of the executable for when theTaskType
is addressed through com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean#getBuilderLabels This is usually the component of theTaskType
Capability
key betweenCapabilityDefaultsHelper.CAPABILITY_BUILDER_PREFIX
and the label.String
getI18nExecutableNameKey()
An i18n key of the name of theTaskType
in the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"String
getI18nPathHelpKey()
An i18n key to show a hint when the user is configuring the Executable path for thisTaskType
eg "Please enter the M2_HOME value as your path.boolean
isPrimaryCapabilityProvider()
-
-
-
Method Detail
-
getExecutableKey
@NotNull public @NotNull String getExecutableKey()
Description copied from interface:TaskExecutableType
The short "key" of the executable for when theTaskType
is addressed through com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean#getBuilderLabels This is usually the component of theTaskType
Capability
key betweenCapabilityDefaultsHelper.CAPABILITY_BUILDER_PREFIX
and the label. For example the key would "myExe" in "system.builder.myExe.My+Label"- Specified by:
getExecutableKey
in interfaceTaskExecutableType
- Returns:
- key
-
getI18nExecutableNameKey
public String getI18nExecutableNameKey()
Description copied from interface:TaskExecutableType
An i18n key of the name of theTaskType
in the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"- Specified by:
getI18nExecutableNameKey
in interfaceTaskExecutableType
- Returns:
- key
-
getI18nPathHelpKey
public String getI18nPathHelpKey()
Description copied from interface:TaskExecutableType
An i18n key to show a hint when the user is configuring the Executable path for thisTaskType
eg "Please enter the M2_HOME value as your path. e.g. C:/dev/tools/maven-2.0.4"- Specified by:
getI18nPathHelpKey
in interfaceTaskExecutableType
- Returns:
- key
-
isPrimaryCapabilityProvider
public boolean isPrimaryCapabilityProvider()
- Specified by:
isPrimaryCapabilityProvider
in interfaceTaskExecutableType
- Returns:
- true of this Task is the primary provider of the Executable capability.
-
-