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