@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()
TaskExecutableType
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.
For example the key would "myExe" in "system.builder.myExe.My+Label"getExecutableKey
in interface TaskExecutableType
public String getI18nExecutableNameKey()
TaskExecutableType
TaskType
in the Executable list
eg "Maven 2" or "Amazon Beanstalk Deployer"getI18nExecutableNameKey
in interface TaskExecutableType
public String getI18nPathHelpKey()
TaskExecutableType
TaskType
eg "Please enter the M2_HOME value as your path. e.g. C:/dev/tools/maven-2.0.4"getI18nPathHelpKey
in interface TaskExecutableType
public boolean isPrimaryCapabilityProvider()
isPrimaryCapabilityProvider
in interface TaskExecutableType
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.