Package com.atlassian.bamboo.task
Interface TaskExecutableType
-
- All Known Implementing Classes:
TaskExecutableTypeImpl
@Internal public interface TaskExecutableType
Allows for theTaskType
to configure an Executable capability
-
-
Method Summary
All Methods Instance Methods Abstract 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.@Nullable String
getI18nExecutableNameKey()
An i18n key of the name of theTaskType
in the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"@Nullable 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 @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. For example the key would "myExe" in "system.builder.myExe.My+Label"- Returns:
- key
-
getI18nExecutableNameKey
@Nullable @Nullable String getI18nExecutableNameKey()
An i18n key of the name of theTaskType
in the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"- Returns:
- key
-
getI18nPathHelpKey
@Nullable @Nullable 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. 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.
-
-