Package com.atlassian.bamboo.task
Interface TaskDefinition
- All Superinterfaces:
 EntityWithOid,ImmutableEntityWithOid,PluginKeyProvider,Serializable,TaskIdentifier
- All Known Subinterfaces:
 DecoratedTaskDefinition<T>,RuntimeTaskDefinition
- All Known Implementing Classes:
 DecoratedTaskDefinitionImpl,ImmutableTaskDefinition,RuntimeTaskDefinitionImpl,TaskDefinitionImpl
A definition of one configuration of a 
TaskType- Since:
 - 3.1
 - See Also:
 
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescription@NotNull List<TaskConditionConfig>Represents the raw configuration data for this configuration.default BambooEntityTypeEntity type of this object, used inBambooEntityOid.@NotNull TaskRootDirectorySelectorvoidsetConditions(@NotNull List<TaskConditionConfig> conditions) voidsetConfiguration(@NotNull Map<String, String> configuration) voidsetEnabled(boolean isEnabled) Tells bamboo whether this task should run as a part of this build or not.voidsetFinalising(boolean finalising) voidsetRootDirectorySelector(@NotNull TaskRootDirectorySelector taskRootDirectorySelector) voidsetUserDescription(@Nullable String userDescription) Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOidMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods inherited from interface com.atlassian.bamboo.task.TaskIdentifier
getId, getPluginKey, getUserDescription, isEnabled, isFinalising 
- 
Field Details
- 
ENABLED
static final boolean ENABLED- See Also:
 
 - 
DISABLED
static final boolean DISABLED- See Also:
 
 
 - 
 - 
Method Details
- 
setUserDescription
 - 
setEnabled
void setEnabled(boolean isEnabled) Tells bamboo whether this task should run as a part of this build or not.- Since:
 - 4.4
 
 - 
setFinalising
void setFinalising(boolean finalising)  - 
getRootDirectorySelector
- Returns:
 - data defining tasks' root directory
 - Since:
 - 3.3
 
 - 
setRootDirectorySelector
void setRootDirectorySelector(@NotNull @NotNull TaskRootDirectorySelector taskRootDirectorySelector) - Parameters:
 taskRootDirectorySelector-- Since:
 - 3.3
 
 - 
getConfiguration
Represents the raw configuration data for this configuration. No variables are substituted.- Returns:
 - the plugin defined configuration for this task
 
 - 
setConfiguration
 - 
getEntityType
Description copied from interface:ImmutableEntityWithOidEntity type of this object, used inBambooEntityOid.- Specified by:
 getEntityTypein interfaceImmutableEntityWithOid
 - 
getConditions
- Returns:
 - task conditions. UI supports only one condition per task.
 
 - 
setConditions
 
 -