Package com.atlassian.bamboo.task
Class TaskExecutableTypeImpl
java.lang.Object
com.atlassian.bamboo.task.TaskExecutableTypeImpl
- All Implemented Interfaces:
TaskExecutableType
-
Constructor Summary
ConstructorDescriptionTaskExecutableTypeImpl
(@NotNull String key, @Nullable String nameKey, @Nullable String pathHelpKey, @Nullable String primaryCapabilityProviderString) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
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.An i18n key of the name of theTaskType
in the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"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
-
Constructor Details
-
TaskExecutableTypeImpl
-
-
Method Details
-
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
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
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.
-