@Internal public class ImmutableTaskDefinition extends Object implements TaskDefinition
TaskDefinition implementationDISABLED, ENABLED| Constructor and Description |
|---|
ImmutableTaskDefinition(TaskDefinition taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
List<TaskConditionConfig> |
getConditions() |
Map<String,String> |
getConfiguration()
Represents the raw configuration data for this configuration.
|
long |
getId() |
BambooEntityOid |
getOid()
OID assigned to this object.
|
String |
getPluginKey() |
TaskRootDirectorySelector |
getRootDirectorySelector() |
String |
getUserDescription() |
boolean |
isEnabled() |
boolean |
isFinalising() |
void |
setConditions(List<TaskConditionConfig> conditions) |
void |
setConfiguration(Map<String,String> configuration) |
void |
setEnabled(boolean isEnabled)
Tells bamboo whether this task should run as a part of this build or not.
|
void |
setFinalising(boolean finalising) |
void |
setOid(BambooEntityOid oid)
Assign a new
BambooEntityOid to this object. |
void |
setRootDirectorySelector(TaskRootDirectorySelector taskRootDirectorySelector) |
void |
setUserDescription(String userDescription) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityTypepublic ImmutableTaskDefinition(@NotNull
TaskDefinition taskDefinition)
@NotNull public Map<String,String> getConfiguration()
TaskDefinitiongetConfiguration in interface TaskDefinitionpublic long getId()
getId in interface TaskIdentifierJob@NotNull public String getPluginKey()
getPluginKey in interface PluginKeyProvidergetPluginKey in interface TaskIdentifier@Nullable public String getUserDescription()
getUserDescription in interface TaskIdentifierpublic boolean isEnabled()
isEnabled in interface TaskIdentifierpublic boolean isFinalising()
isFinalising in interface TaskIdentifier@NotNull public TaskRootDirectorySelector getRootDirectorySelector()
getRootDirectorySelector in interface TaskDefinitionpublic BambooEntityOid getOid()
ImmutableEntityWithOidBambooEntityOid.getEntityType() should be the same as this object's
ImmutableEntityWithOid.getEntityType().getOid in interface ImmutableEntityWithOidpublic void setOid(BambooEntityOid oid)
EntityWithOidBambooEntityOid to this object. The BambooEntityOid.getEntityType() should be the
same as this object's ImmutableEntityWithOid.getEntityType().setOid in interface EntityWithOidpublic void setUserDescription(@Nullable
String userDescription)
setUserDescription in interface TaskDefinitionpublic void setEnabled(boolean isEnabled)
TaskDefinitionsetEnabled in interface TaskDefinitionpublic void setFinalising(boolean finalising)
setFinalising in interface TaskDefinitionpublic void setConfiguration(@NotNull
Map<String,String> configuration)
setConfiguration in interface TaskDefinitionpublic void setConditions(@NotNull
List<TaskConditionConfig> conditions)
setConditions in interface TaskDefinition@NotNull public List<TaskConditionConfig> getConditions()
getConditions in interface TaskDefinitionpublic void setRootDirectorySelector(@NotNull
TaskRootDirectorySelector taskRootDirectorySelector)
setRootDirectorySelector in interface TaskDefinitionCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.