Class TaskExecutionContext

java.lang.Object
com.atlassian.bamboo.task.TaskExecutionContext

@Internal public class TaskExecutionContext extends Object
  • Constructor Details

  • Method Details

    • hasTasksToExecute

      public boolean hasTasksToExecute(@Nullable @Nullable TaskResult taskResult)
    • getNextTaskToExecute

      public RuntimeTaskDefinition getNextTaskToExecute()
    • getBuildContext

      @Nullable public @Nullable BuildContext getBuildContext()
    • getCommonContext

      @NotNull public @NotNull CommonContext getCommonContext()
    • getDeploymentContext

      @Nullable public @Nullable DeploymentContext getDeploymentContext()
    • getCapabilities

      @NotNull public @NotNull ReadOnlyCapabilitySet getCapabilities()
    • getBuildLogger

      @NotNull public @NotNull BuildLogger getBuildLogger()
    • getRootDirectory

      @NotNull public @NotNull File getRootDirectory()
      Returns:
      root of working directory as defined in Job configuration
    • getDefaultRootDirectory

      @NotNull public @NotNull File getDefaultRootDirectory()
      Returns:
      default root of working directory defined as ${bamboo.agentWorkingDir}/${bamboo.planKey}