Package com.atlassian.bamboo.task
Class TaskExecutableTypeImpl
java.lang.Object
com.atlassian.bamboo.task.TaskExecutableTypeImpl
- All Implemented Interfaces:
TaskExecutableType
-
Constructor Summary
ConstructorsConstructorDescriptionTaskExecutableTypeImpl(@NotNull String key, @Nullable String nameKey, @Nullable String pathHelpKey, @Nullable String primaryCapabilityProviderString) -
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.An i18n key of the name of theTaskTypein 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 thisTaskTypeeg "Please enter the M2_HOME value as your path. e.g.boolean
-
Constructor Details
-
TaskExecutableTypeImpl
-
-
Method Details
-
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
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
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.
-