Interface RuntimeTaskDefinition
-
- All Superinterfaces:
EntityWithOid
,ImmutableEntityWithOid
,PluginKeyProvider
,Serializable
,TaskDefinition
,TaskIdentifier
- All Known Implementing Classes:
RuntimeTaskDefinitionImpl
@PublicApi public interface RuntimeTaskDefinition extends TaskDefinition
Task definition extended with runtime information- Since:
- 5.9
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.task.TaskDefinition
DISABLED, ENABLED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
doesTaskProduceTestResults()
@NotNull Map<String,String>
getRuntimeContext()
@NotNull Map<String,WhitelistedSerializable>
getRuntimeData()
-
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.TaskDefinition
getConditions, getConfiguration, getEntityType, getRootDirectorySelector, setConditions, setConfiguration, setEnabled, setFinalising, setRootDirectorySelector, setUserDescription
-
Methods inherited from interface com.atlassian.bamboo.task.TaskIdentifier
getId, getPluginKey, getUserDescription, isEnabled, isFinalising
-
-
-
-
Method Detail
-
getRuntimeContext
@NotNull @NotNull Map<String,String> getRuntimeContext()
- Returns:
- custom runtime data that complement static task configuration
-
doesTaskProduceTestResults
boolean doesTaskProduceTestResults()
- Returns:
- true iff task is expected to produce test results
-
getRuntimeData
@NotNull @NotNull Map<String,WhitelistedSerializable> getRuntimeData()
- Returns:
- custom runtime data that complement static task configuration
- Since:
- 5.10
-
-