com.atlassian.bamboo.task
Class TaskExecutableTypeImpl
java.lang.Object
com.atlassian.bamboo.task.TaskExecutableTypeImpl
- All Implemented Interfaces:
- TaskExecutableType
public class TaskExecutableTypeImpl
- extends java.lang.Object
- implements TaskExecutableType
Constructor Summary |
TaskExecutableTypeImpl(org.dom4j.Attribute key,
org.dom4j.Attribute nameKey,
org.dom4j.Attribute pathHelpKey,
org.dom4j.Attribute primaryCapabilityProvider)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskExecutableTypeImpl
public TaskExecutableTypeImpl(@NotNull
org.dom4j.Attribute key,
@Nullable
org.dom4j.Attribute nameKey,
@Nullable
org.dom4j.Attribute pathHelpKey,
@Nullable
org.dom4j.Attribute primaryCapabilityProvider)
getExecutableKey
@NotNull
public java.lang.String getExecutableKey()
- Description copied from interface:
TaskExecutableType
- The short "key" of the executable for when the
TaskType
is addressed through 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"
- Specified by:
getExecutableKey
in interface TaskExecutableType
- Returns:
- key
getI18nExecutableNameKey
public java.lang.String getI18nExecutableNameKey()
- Description copied from interface:
TaskExecutableType
- An i18n key of the name of the
TaskType
in the Executable list
eg "Maven 2" or "Amazon Beanstalk Deployer"
- Specified by:
getI18nExecutableNameKey
in interface TaskExecutableType
- Returns:
- key
getI18nPathHelpKey
public java.lang.String getI18nPathHelpKey()
- Description copied from interface:
TaskExecutableType
- 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. e.g. C:/dev/tools/maven-2.0.4"
- Specified by:
getI18nPathHelpKey
in interface TaskExecutableType
- Returns:
- key
isPrimaryCapabilityProvider
public boolean isPrimaryCapabilityProvider()
- Specified by:
isPrimaryCapabilityProvider
in interface TaskExecutableType
- Returns:
- true of this Task is the primary provider of the Executable capability.
Copyright © 2012 Atlassian. All Rights Reserved.