Package com.atlassian.bamboo.task
Interface TaskExecutableType
-
- All Known Implementing Classes:
TaskExecutableTypeImpl
@Internal public interface TaskExecutableTypeAllows for theTaskTypeto configure an Executable capability
-
-
Method Summary
All Methods Instance Methods Abstract 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.@Nullable StringgetI18nExecutableNameKey()An i18n key of the name of theTaskTypein the Executable list eg "Maven 2" or "Amazon Beanstalk Deployer"@Nullable 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 @NotNull String 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
@Nullable @Nullable String getI18nExecutableNameKey()
An i18n key of the name of theTaskTypein 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 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.
-
-