Class RuntimeTaskDefinitionImpl
java.lang.Object
com.atlassian.bamboo.task.TaskDefinitionImpl
com.atlassian.bamboo.task.runtime.RuntimeTaskDefinitionImpl
- All Implemented Interfaces:
EntityWithOid
,ImmutableEntityWithOid
,PluginKeyProvider
,RuntimeTaskDefinition
,TaskDefinition
,TaskIdentifier
,Serializable
@Internal
public class RuntimeTaskDefinitionImpl
extends TaskDefinitionImpl
implements RuntimeTaskDefinition
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.task.TaskDefinition
DISABLED, ENABLED
-
Constructor Summary
ConstructorDescriptionRuntimeTaskDefinitionImpl
(@NotNull TaskDefinition t) RuntimeTaskDefinitionImpl
(@NotNull TaskDefinition t, @Nullable Map<String, String> runtimeContext, boolean producesTestResults) RuntimeTaskDefinitionImpl
(@NotNull TaskDefinition t, @Nullable Map<String, String> runtimeContext, @Nullable Map<String, WhitelistedSerializable> runtimeData, boolean producesTestResults) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull Map<String,
WhitelistedSerializable> void
setProducesTestResults
(boolean producesTestResults) void
setRuntimeContext
(Map<String, String> runtimeContext) void
setRuntimeData
(Map<String, WhitelistedSerializable> runtimeData) Methods inherited from class com.atlassian.bamboo.task.TaskDefinitionImpl
compareTo, equals, getConditions, getConfiguration, getId, getOid, getPluginKey, getRootDirectorySelector, getUserDescription, hashCode, isEnabled, isFinalising, setConditions, setConfiguration, setEnabled, setFinalising, setOid, setRootDirectorySelector, setUserDescription, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
-
Constructor Details
-
RuntimeTaskDefinitionImpl
public RuntimeTaskDefinitionImpl(@NotNull @NotNull TaskDefinition t, @Nullable @Nullable Map<String, String> runtimeContext, @Nullable @Nullable Map<String, WhitelistedSerializable> runtimeData, boolean producesTestResults) -
RuntimeTaskDefinitionImpl
public RuntimeTaskDefinitionImpl(@NotNull @NotNull TaskDefinition t, @Nullable @Nullable Map<String, String> runtimeContext, boolean producesTestResults) -
RuntimeTaskDefinitionImpl
-
-
Method Details
-
getRuntimeContext
- Specified by:
getRuntimeContext
in interfaceRuntimeTaskDefinition
- Returns:
- custom runtime data that complement static task configuration
-
getRuntimeData
- Specified by:
getRuntimeData
in interfaceRuntimeTaskDefinition
- Returns:
- custom runtime data that complement static task configuration
-
doesTaskProduceTestResults
public boolean doesTaskProduceTestResults()- Specified by:
doesTaskProduceTestResults
in interfaceRuntimeTaskDefinition
- Returns:
- true iff task is expected to produce test results
-
setRuntimeContext
-
setRuntimeData
-
setProducesTestResults
public void setProducesTestResults(boolean producesTestResults)
-