@Internal public class TaskDefinitionImpl extends Object implements TaskDefinition
DISABLED, ENABLED| Constructor and Description |
|---|
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration,
boolean finalising) |
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
boolean isEnabled,
@NotNull List<TaskConditionConfig> conditions,
@NotNull Map<String,String> configuration,
boolean finalising,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration) |
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration,
boolean finalising) |
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
boolean isEnabled,
@NotNull Map<String,String> configuration,
boolean finalising,
@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
@NotNull Map<String,String> taskConfigMap) |
TaskDefinitionImpl(long id,
@NotNull String pluginKey,
@Nullable String userDescription,
@NotNull Map<String,String> configuration,
boolean finalising) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
boolean |
equals(Object o) |
@NotNull List<TaskConditionConfig> |
getConditions() |
@NotNull Map<String,String> |
getConfiguration()
Represents the raw configuration data for this configuration.
|
long |
getId() |
BambooEntityOid |
getOid()
OID assigned to this object.
|
@NotNull String |
getPluginKey() |
@NotNull TaskRootDirectorySelector |
getRootDirectorySelector() |
@Nullable String |
getUserDescription() |
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isFinalising() |
void |
setConditions(@NotNull List<TaskConditionConfig> conditions) |
void |
setConfiguration(@NotNull 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(@NotNull TaskRootDirectorySelector rootDirectorySelector) |
void |
setUserDescription(@Nullable String userDescription) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEntityTypepublic TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
@NotNull
@NotNull Map<String,String> taskConfigMap)
public TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
boolean isEnabled,
@NotNull
@NotNull Map<String,String> configuration)
public TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
boolean isEnabled,
@NotNull
@NotNull Map<String,String> configuration,
boolean finalising)
public TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
boolean isEnabled,
@NotNull
@NotNull List<TaskConditionConfig> conditions,
@NotNull
@NotNull Map<String,String> configuration,
boolean finalising)
public TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
@NotNull
@NotNull Map<String,String> configuration,
boolean finalising)
public TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
boolean isEnabled,
@NotNull
@NotNull Map<String,String> configuration,
boolean finalising,
@NotNull
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
public TaskDefinitionImpl(long id,
@NotNull
@NotNull String pluginKey,
@Nullable
@Nullable String userDescription,
boolean isEnabled,
@NotNull
@NotNull List<TaskConditionConfig> conditions,
@NotNull
@NotNull Map<String,String> configuration,
boolean finalising,
@NotNull
@NotNull TaskRootDirectorySelector taskRootDirectorySelector)
public long getId()
getId in interface TaskIdentifierJob@NotNull public @NotNull String getPluginKey()
getPluginKey in interface PluginKeyProvidergetPluginKey in interface TaskIdentifier@Nullable public @Nullable String getUserDescription()
getUserDescription in interface TaskIdentifierpublic void setUserDescription(@Nullable
@Nullable String userDescription)
setUserDescription in interface TaskDefinitionpublic boolean isEnabled()
isEnabled in interface TaskIdentifierpublic void setEnabled(boolean isEnabled)
TaskDefinitionsetEnabled in interface TaskDefinition@NotNull public @NotNull List<TaskConditionConfig> getConditions()
getConditions in interface TaskDefinitionpublic void setConditions(@NotNull
@NotNull List<TaskConditionConfig> conditions)
setConditions in interface TaskDefinition@NotNull public @NotNull Map<String,String> getConfiguration()
TaskDefinitiongetConfiguration in interface TaskDefinitionpublic void setConfiguration(@NotNull
@NotNull Map<String,String> configuration)
setConfiguration in interface TaskDefinitionpublic boolean isFinalising()
isFinalising in interface TaskIdentifierpublic void setFinalising(boolean finalising)
setFinalising in interface TaskDefinition@NotNull public @NotNull TaskRootDirectorySelector getRootDirectorySelector()
getRootDirectorySelector in interface TaskDefinitionpublic void setRootDirectorySelector(@NotNull
@NotNull TaskRootDirectorySelector rootDirectorySelector)
setRootDirectorySelector in interface TaskDefinitionpublic int compareTo(Object obj)
public 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 BambooEntityOid getOid()
ImmutableEntityWithOidBambooEntityOid.getEntityType() should be the same as this object's
ImmutableEntityWithOid.getEntityType().getOid in interface ImmutableEntityWithOidCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.