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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.task.TaskDefinition
DISABLED, ENABLED
-
-
Constructor Summary
Constructors Constructor Description RuntimeTaskDefinitionImpl(@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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesTaskProduceTestResults()
@NotNull Map<String,String>
getRuntimeContext()
@NotNull Map<String,WhitelistedSerializable>
getRuntimeData()
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 Detail
-
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
public RuntimeTaskDefinitionImpl(@NotNull @NotNull TaskDefinition t)
-
-
Method Detail
-
getRuntimeContext
@NotNull public @NotNull Map<String,String> getRuntimeContext()
- Specified by:
getRuntimeContext
in interfaceRuntimeTaskDefinition
- Returns:
- custom runtime data that complement static task configuration
-
getRuntimeData
@NotNull public @NotNull Map<String,WhitelistedSerializable> 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
-
setRuntimeData
public void setRuntimeData(Map<String,WhitelistedSerializable> runtimeData)
-
setProducesTestResults
public void setProducesTestResults(boolean producesTestResults)
-
-