Package com.atlassian.bamboo.task
Interface TaskExecutableType
- All Known Implementing Classes:
TaskExecutableTypeImpl
@Internal
public interface TaskExecutableType
Allows for the
TaskType to configure an Executable capability-
Method Summary
Modifier and TypeMethodDescription@NotNull StringThe 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.@Nullable StringAn i18n key of the name of theTaskTypein the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"@Nullable StringAn 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.boolean
-
Method Details
-
getExecutableKey
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. For example the key would "myExe" in "system.builder.myExe.My+Label"- Returns:
- key
-
getI18nExecutableNameKey
An i18n key of the name of theTaskTypein the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"- Returns:
- key
-
getI18nPathHelpKey
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. e.g. C:/dev/tools/maven-2.0.4"- Returns:
- key
-
isPrimaryCapabilityProvider
boolean isPrimaryCapabilityProvider()- Returns:
- true of this Task is the primary provider of the Executable capability.
-