@Internal public class TaskExecutableTypeImpl extends Object implements TaskExecutableType
| Constructor and Description |
|---|
TaskExecutableTypeImpl(org.dom4j.Attribute key,
org.dom4j.Attribute nameKey,
org.dom4j.Attribute pathHelpKey,
org.dom4j.Attribute primaryCapabilityProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExecutableKey()
The short "key" of the executable for when the
TaskType is addressed through com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean#getBuilderLabels
This is usually the component of the TaskType Capability key between CapabilityDefaultsHelper.CAPABILITY_BUILDER_PREFIX and the label. |
String |
getI18nExecutableNameKey()
An i18n key of the name of the
TaskType in the Executable list
eg "Maven 2" or "Amazon Beanstalk Deployer" |
String |
getI18nPathHelpKey()
An i18n key to show a hint when the user is configuring the Executable path for this
TaskType
eg "Please enter the M2_HOME value as your path. |
boolean |
isPrimaryCapabilityProvider() |
public TaskExecutableTypeImpl(@NotNull
org.dom4j.Attribute key,
@Nullable
org.dom4j.Attribute nameKey,
@Nullable
org.dom4j.Attribute pathHelpKey,
@Nullable
org.dom4j.Attribute primaryCapabilityProvider)
@NotNull public String getExecutableKey()
TaskExecutableTypeTaskType is addressed through com.atlassian.bamboo.ww2.actions.build.admin.create.UIConfigBean#getBuilderLabels
This is usually the component of the TaskType Capability key between CapabilityDefaultsHelper.CAPABILITY_BUILDER_PREFIX and the label.
For example the key would "myExe" in "system.builder.myExe.My+Label"getExecutableKey in interface TaskExecutableTypepublic String getI18nExecutableNameKey()
TaskExecutableTypeTaskType in the Executable list
eg "Maven 2" or "Amazon Beanstalk Deployer"getI18nExecutableNameKey in interface TaskExecutableTypepublic String getI18nPathHelpKey()
TaskExecutableTypeTaskType
eg "Please enter the M2_HOME value as your path. e.g. C:/dev/tools/maven-2.0.4"getI18nPathHelpKey in interface TaskExecutableTypepublic boolean isPrimaryCapabilityProvider()
isPrimaryCapabilityProvider in interface TaskExecutableTypeCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.