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
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<TaskConditionConfig>
Represents the raw configuration data for this configuration.default BambooEntityType
Entity type of this object, used inBambooEntityOid
.@NotNull TaskRootDirectorySelector
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) Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOid
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
Methods 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:ImmutableEntityWithOid
Entity type of this object, used inBambooEntityOid
.- Specified by:
getEntityType
in interfaceImmutableEntityWithOid
-
getConditions
- Returns:
- task conditions. UI supports only one condition per task.
-
setConditions
-