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
-
Field Summary
Fields inherited from class com.atlassian.bamboo.task.CommonTaskContextImpl
rootDirectorySelector, taskExecutionContext
-
Constructor Summary
ConstructorDescriptionTaskContextImpl
(Map<String, String> substitutedConfiguration, TaskExecutionContext taskExecutionContext, RuntimeTaskDefinition taskDefinition, VcsRepositoryManager vcsRepositoryManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContext
Contains all the build related information about the running of the tasks@NotNull File
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 Details
-
TaskContextImpl
public TaskContextImpl(Map<String, String> substitutedConfiguration, TaskExecutionContext taskExecutionContext, RuntimeTaskDefinition taskDefinition, VcsRepositoryManager vcsRepositoryManager)
-
-
Method Details
-
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
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
-