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 StringgetExecutableKey()The short "key" of the executable for when theTaskTypeis addressed through com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean#getBuilderLabels This is usually the component of theTaskTypeCapabilitykey betweenCapabilityDefaultsHelper.CAPABILITY_BUILDER_PREFIXand the label.StringgetI18nExecutableNameKey()An i18n key of the name of theTaskTypein the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"StringgetI18nPathHelpKey()An i18n key to show a hint when the user is configuring the Executable path for thisTaskTypeeg "Please enter the M2_HOME value as your path.booleanisPrimaryCapabilityProvider()
-
-
-
Method Detail
-
getExecutableKey
@NotNull public @NotNull String getExecutableKey()
Description copied from interface:TaskExecutableTypeThe short "key" of the executable for when theTaskTypeis addressed through com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean#getBuilderLabels This is usually the component of theTaskTypeCapabilitykey betweenCapabilityDefaultsHelper.CAPABILITY_BUILDER_PREFIXand the label. For example the key would "myExe" in "system.builder.myExe.My+Label"- Specified by:
getExecutableKeyin interfaceTaskExecutableType- Returns:
- key
-
getI18nExecutableNameKey
public String getI18nExecutableNameKey()
Description copied from interface:TaskExecutableTypeAn i18n key of the name of theTaskTypein the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"- Specified by:
getI18nExecutableNameKeyin interfaceTaskExecutableType- Returns:
- key
-
getI18nPathHelpKey
public String getI18nPathHelpKey()
Description copied from interface:TaskExecutableTypeAn i18n key to show a hint when the user is configuring the Executable path for thisTaskTypeeg "Please enter the M2_HOME value as your path. e.g. C:/dev/tools/maven-2.0.4"- Specified by:
getI18nPathHelpKeyin interfaceTaskExecutableType- Returns:
- key
-
isPrimaryCapabilityProvider
public boolean isPrimaryCapabilityProvider()
- Specified by:
isPrimaryCapabilityProviderin interfaceTaskExecutableType- Returns:
- true of this Task is the primary provider of the Executable capability.
-
-