@PublicApi public interface TaskDefinition extends TaskIdentifier, EntityWithOid, Serializable
TaskType
TaskConfigurator
Modifier and Type | Field and Description |
---|---|
static boolean |
DISABLED |
static boolean |
ENABLED |
Modifier and Type | Method and Description |
---|---|
@NotNull List<TaskConditionConfig> |
getConditions() |
@NotNull Map<String,String> |
getConfiguration()
Represents the raw configuration data for this configuration.
|
default BambooEntityType |
getEntityType()
Entity type of this object, used in
BambooEntityOid . |
@NotNull TaskRootDirectorySelector |
getRootDirectorySelector() |
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 |
setRootDirectorySelector(@NotNull TaskRootDirectorySelector taskRootDirectorySelector) |
void |
setUserDescription(@Nullable String userDescription) |
getId, getPluginKey, getUserDescription, isEnabled, isFinalising
setOid
getOid
static final boolean ENABLED
static final boolean DISABLED
void setUserDescription(@Nullable @Nullable String userDescription)
void setEnabled(boolean isEnabled)
void setFinalising(boolean finalising)
@NotNull @NotNull TaskRootDirectorySelector getRootDirectorySelector()
void setRootDirectorySelector(@NotNull @NotNull TaskRootDirectorySelector taskRootDirectorySelector)
taskRootDirectorySelector
- @NotNull @NotNull Map<String,String> getConfiguration()
default BambooEntityType getEntityType()
ImmutableEntityWithOid
BambooEntityOid
.getEntityType
in interface ImmutableEntityWithOid
@NotNull @NotNull List<TaskConditionConfig> getConditions()
void setConditions(@NotNull @NotNull List<TaskConditionConfig> conditions)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.