Package com.atlassian.bamboo.task
Class TaskContextImpl
- java.lang.Object
-
- com.atlassian.bamboo.task.CommonTaskContextImpl
-
- com.atlassian.bamboo.task.TaskContextImpl
-
- All Implemented Interfaces:
PluginKeyProvider
,CommonTaskContext
,InternalTaskContext
,TaskContext
,TaskIdentifier
@Internal public class TaskContextImpl extends CommonTaskContextImpl implements TaskContext
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.task.CommonTaskContextImpl
rootDirectorySelector, taskExecutionContext
-
-
Constructor Summary
Constructors Constructor Description TaskContextImpl(Map<String,String> substitutedConfiguration, TaskExecutionContext taskExecutionContext, RuntimeTaskDefinition taskDefinition, VcsRepositoryManager vcsRepositoryManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull BuildContext
getBuildContext()
Contains all the build related information about the running of the tasks@NotNull File
getRootDirectory()
Get build root directory (where sources were checked out)-
Methods inherited from class com.atlassian.bamboo.task.CommonTaskContextImpl
doesTaskProduceTestResults, getBuildLogger, getCommonContext, getConfigurationMap, getId, getPluginKey, getRuntimeTaskContext, getRuntimeTaskData, getUserDescription, getWorkingDirectory, isEnabled, isFinalising
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.task.CommonTaskContext
doesTaskProduceTestResults, getCommonContext, getRuntimeTaskData
-
Methods inherited from interface com.atlassian.bamboo.task.TaskContext
getBuildLogger, getConfigurationMap, getRuntimeTaskContext, getWorkingDirectory
-
Methods inherited from interface com.atlassian.bamboo.task.TaskIdentifier
getId, getPluginKey, getUserDescription, isEnabled, isFinalising
-
-
-
-
Constructor Detail
-
TaskContextImpl
public TaskContextImpl(Map<String,String> substitutedConfiguration, TaskExecutionContext taskExecutionContext, RuntimeTaskDefinition taskDefinition, VcsRepositoryManager vcsRepositoryManager)
-
-
Method Detail
-
getBuildContext
@NotNull public @NotNull BuildContext getBuildContext()
Description copied from interface:TaskContext
Contains all the build related information about the running of the tasks- Specified by:
getBuildContext
in interfaceTaskContext
- Overrides:
getBuildContext
in classCommonTaskContextImpl
- Returns:
-
getRootDirectory
@NotNull public @NotNull File getRootDirectory()
Description copied from interface:CommonTaskContext
Get build root directory (where sources were checked out)- Specified by:
getRootDirectory
in interfaceCommonTaskContext
- Specified by:
getRootDirectory
in interfaceTaskContext
- Overrides:
getRootDirectory
in classCommonTaskContextImpl
- Returns:
- Build root directory
-
-