Package com.atlassian.bamboo.task
Class TaskExecutionContext
java.lang.Object
com.atlassian.bamboo.task.TaskExecutionContext
-
Constructor Summary
ConstructorDescriptionTaskExecutionContext
(Queue<RuntimeTaskDefinition> tasks, TaskExecutionStrategy executionStrategy, @NotNull CommonContext commonContext, ReadOnlyCapabilitySet capabilities, BuildLoggerManager buildLoggerManager, File defaultRootDirectory) -
Method Summary
Modifier and TypeMethodDescription@Nullable BuildContext
@NotNull BuildLogger
@NotNull ReadOnlyCapabilitySet
@NotNull CommonContext
@NotNull File
@Nullable DeploymentContext
@NotNull File
boolean
hasTasksToExecute
(@Nullable TaskResult taskResult)
-
Constructor Details
-
TaskExecutionContext
public TaskExecutionContext(Queue<RuntimeTaskDefinition> tasks, TaskExecutionStrategy executionStrategy, @NotNull @NotNull CommonContext commonContext, ReadOnlyCapabilitySet capabilities, BuildLoggerManager buildLoggerManager, File defaultRootDirectory)
-
-
Method Details
-
hasTasksToExecute
-
getNextTaskToExecute
-
getBuildContext
-
getCommonContext
-
getDeploymentContext
-
getCapabilities
-
getBuildLogger
-
getRootDirectory
- Returns:
- root of working directory as defined in Job configuration
-
getDefaultRootDirectory
- Returns:
- default root of working directory defined as ${bamboo.agentWorkingDir}/${bamboo.planKey}
-