com.atlassian.bamboo.task
Class TaskExecutionContext
java.lang.Object
com.atlassian.bamboo.task.TaskExecutionContext
public class TaskExecutionContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskExecutionContext
public TaskExecutionContext(java.util.Queue<TaskDefinition> tasks,
TaskExecutionStrategy executionStrategy,
BuildContext buildContext,
ReadOnlyCapabilitySet capabilities,
BuildLoggerManager buildLoggerManager,
java.io.File defaultRootDirectory)
hasTasksToExecute
public boolean hasTasksToExecute(@Nullable
TaskResult taskResult)
getNextTaskToExecute
public TaskDefinition getNextTaskToExecute()
getBuildContext
@NotNull
public BuildContext getBuildContext()
getCapabilities
@NotNull
public ReadOnlyCapabilitySet getCapabilities()
getBuildLogger
@NotNull
public BuildLogger getBuildLogger()
getRootDirectory
@NotNull
public java.io.File getRootDirectory()
- Returns:
- root of working directory as defined in Job configuration
getDefaultRootDirectory
@NotNull
public java.io.File getDefaultRootDirectory()
- Returns:
- default root of working directory defined as ${bamboo.agentWorkingDir}/${bamboo.planKey}
Copyright © 2012 Atlassian. All Rights Reserved.