com.atlassian.bamboo.task
Class TaskContextImpl
java.lang.Object
com.atlassian.bamboo.task.CommonTaskContextImpl
com.atlassian.bamboo.task.TaskContextImpl
- All Implemented Interfaces:
- CommonTaskContext, InternalTaskContext, TaskContext, TaskIdentifier
@Internal
public class TaskContextImpl
- extends CommonTaskContextImpl
- implements TaskContext
| Methods inherited from class com.atlassian.bamboo.task.CommonTaskContextImpl |
doesTaskProduceTestResults, getBuildLogger, getCommonContext, getConfigurationMap, getId, getPluginKey, getRuntimeTaskContext, getUserDescription, getWorkingDirectory, isEnabled, isFinalising |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskContextImpl
public TaskContextImpl(Map<String,String> substitutedConfiguration,
TaskExecutionContext taskExecutionContext,
RuntimeTaskDefinition taskDefinition)
getBuildContext
@NotNull
public BuildContext getBuildContext()
- Description copied from interface:
TaskContext
- Contains all the build related information about the running of the tasks
- Specified by:
getBuildContext in interface TaskContext- Overrides:
getBuildContext in class CommonTaskContextImpl
- Returns:
getRootDirectory
@NotNull
public File getRootDirectory()
- Description copied from interface:
CommonTaskContext
- Get build root directory (where sources were checked out)
- Specified by:
getRootDirectory in interface CommonTaskContext- Specified by:
getRootDirectory in interface TaskContext- Overrides:
getRootDirectory in class CommonTaskContextImpl
- Returns:
- Build root directory
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.