@Internal public class TaskContextImpl extends CommonTaskContextImpl implements TaskContext
rootDirectorySelector, taskExecutionContext
Constructor and Description |
---|
TaskContextImpl(Map<String,String> substitutedConfiguration,
TaskExecutionContext taskExecutionContext,
RuntimeTaskDefinition taskDefinition,
VcsRepositoryManager vcsRepositoryManager) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
getBuildContext()
Contains all the build related information about the running of the tasks
|
File |
getRootDirectory()
Get build root directory (where sources were checked out)
|
doesTaskProduceTestResults, getBuildLogger, getCommonContext, getConfigurationMap, getId, getPluginKey, getRuntimeTaskContext, getRuntimeTaskData, getUserDescription, getWorkingDirectory, isEnabled, isFinalising
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildLogger, getConfigurationMap, getRuntimeTaskContext, getWorkingDirectory
doesTaskProduceTestResults, getCommonContext, getRuntimeTaskData
getId, getPluginKey, getUserDescription, isEnabled, isFinalising
public TaskContextImpl(Map<String,String> substitutedConfiguration, TaskExecutionContext taskExecutionContext, RuntimeTaskDefinition taskDefinition, VcsRepositoryManager vcsRepositoryManager)
@NotNull public BuildContext getBuildContext()
TaskContext
getBuildContext
in interface TaskContext
getBuildContext
in class CommonTaskContextImpl
@NotNull public File getRootDirectory()
CommonTaskContext
getRootDirectory
in interface CommonTaskContext
getRootDirectory
in interface TaskContext
getRootDirectory
in class CommonTaskContextImpl
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.