com.atlassian.bamboo.task.runtime
Class RuntimeTaskDefinitionImpl
java.lang.Object
com.atlassian.bamboo.task.TaskDefinitionImpl
com.atlassian.bamboo.task.runtime.RuntimeTaskDefinitionImpl
- All Implemented Interfaces:
- RuntimeTaskDefinition, TaskDefinition, TaskIdentifier, Serializable
@Internal
public class RuntimeTaskDefinitionImpl
- extends TaskDefinitionImpl
- implements RuntimeTaskDefinition
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.bamboo.task.TaskDefinitionImpl |
compareTo, equals, getConfiguration, getId, getPluginKey, getRootDirectorySelector, getUserDescription, hashCode, isEnabled, isFinalising, setConfiguration, setEnabled, setFinalising, setRootDirectorySelector, setUserDescription, toString |
RuntimeTaskDefinitionImpl
public RuntimeTaskDefinitionImpl(@NotNull
TaskDefinition t,
@Nullable
Map<String,String> runtimeContext,
boolean producesTestResults)
RuntimeTaskDefinitionImpl
public RuntimeTaskDefinitionImpl(@NotNull
TaskDefinition t)
getRuntimeContext
@NotNull
public Map<String,String> getRuntimeContext()
- Specified by:
getRuntimeContext
in interface RuntimeTaskDefinition
- Returns:
- custom runtime data that complement static task configuration
doesTaskProduceTestResults
public boolean doesTaskProduceTestResults()
- Specified by:
doesTaskProduceTestResults
in interface RuntimeTaskDefinition
- Returns:
- true iff task is expected to produce test results
setRuntimeContext
public void setRuntimeContext(Map<String,String> runtimeContext)
setProducesTestResults
public void setProducesTestResults(boolean producesTestResults)
fromTaskDefinition
public static com.google.common.base.Function<TaskDefinition,RuntimeTaskDefinition> fromTaskDefinition()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.