Uses of Interface
com.atlassian.bamboo.task.CommonTaskContext
-
-
Uses of CommonTaskContext in com.atlassian.bamboo.chains.plugins
Methods in com.atlassian.bamboo.chains.plugins with parameters of type CommonTaskContext Modifier and Type Method Description void
PrePostTaskActions. executeBefore(@NotNull InternalTaskType task, @NotNull CommonTaskContext context)
Executes a custom action before the task is executed. -
Uses of CommonTaskContext in com.atlassian.bamboo.deployments.execution
Subinterfaces of CommonTaskContext in com.atlassian.bamboo.deployments.execution Modifier and Type Interface Description interface
DeploymentTaskContext
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.ant.task
Methods in com.atlassian.bamboo.plugins.ant.task with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull TaskResult
AntBuildTask. execute(@NotNull CommonTaskContext taskContext)
Constructors in com.atlassian.bamboo.plugins.ant.task with parameters of type CommonTaskContext Constructor Description AntConfig(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.artifact
Methods in com.atlassian.bamboo.plugins.artifact with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull TaskResult
ArtifactDownloaderTask. execute(@NotNull CommonTaskContext taskContext)
TaskResult
CleanWorkingDirectoryTask. execute(@NotNull CommonTaskContext taskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.command.task
Methods in com.atlassian.bamboo.plugins.command.task with parameters of type CommonTaskContext Modifier and Type Method Description protected ShellConfig
CommandBuildTask. getConfig(@NotNull CommonTaskContext taskContext)
Constructors in com.atlassian.bamboo.plugins.command.task with parameters of type CommonTaskContext Constructor Description CommandConfig(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.grails
Methods in com.atlassian.bamboo.plugins.grails with parameters of type CommonTaskContext Modifier and Type Method Description static @Nullable String
GrailsBuildTask. getRequiredGrailsVersion(@NotNull CommonTaskContext taskContext)
Look up for 'application.properties' file and return Grails version set in it. -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.maven.task
Methods in com.atlassian.bamboo.plugins.maven.task with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull TaskResult
Maven1BuildTask. execute(@NotNull CommonTaskContext taskContext)
@NotNull TaskResult
Maven2BuildTask. execute(@NotNull CommonTaskContext taskContext)
@NotNull TaskResult
Maven3BuildTask. execute(@NotNull CommonTaskContext taskContext)
static void
MvnReleasePluginVariablesPublisher. injectVariablesIfExists(List<String> commandline, File workingDir, CommonTaskContext taskContext)
Constructors in com.atlassian.bamboo.plugins.maven.task with parameters of type CommonTaskContext Constructor Description AbstractMavenConfig(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor, @NotNull String capabilityPrefix, @NotNull String executableName)
Maven1Config(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
Maven2Config(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
Maven3Config(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.script.task
Methods in com.atlassian.bamboo.plugins.script.task with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull TaskResult
ScriptBuildTask. execute(@NotNull CommonTaskContext taskContext)
protected ScriptConfig
ScriptBuildTask. getConfig(@NotNull CommonTaskContext taskContext)
Constructors in com.atlassian.bamboo.plugins.script.task with parameters of type CommonTaskContext Constructor Description ScriptConfig(@NotNull CommonTaskContext taskContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.shell.task
Methods in com.atlassian.bamboo.plugins.shell.task with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull TaskResult
AbstractShellBuildTask. execute(@NotNull CommonTaskContext taskContext)
protected TaskResult
AbstractShellBuildTask. execute(CommonTaskContext taskContext, ShellConfig config)
protected abstract ShellConfig
AbstractShellBuildTask. getConfig(@NotNull CommonTaskContext taskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.variable.debug
Methods in com.atlassian.bamboo.plugins.variable.debug with parameters of type CommonTaskContext Modifier and Type Method Description TaskResult
DumpVariablesTask. execute(@NotNull CommonTaskContext taskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.variable.inject
Methods in com.atlassian.bamboo.plugins.variable.inject with parameters of type CommonTaskContext Modifier and Type Method Description TaskResult
InjectVariablesTask. execute(@NotNull CommonTaskContext taskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.vcs.task
Methods in com.atlassian.bamboo.plugins.vcs.task with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull TaskResult
VcsBranchTask. execute(@NotNull CommonTaskContext taskContext)
@NotNull TaskResult
VcsCheckoutTask. execute(@NotNull CommonTaskContext taskContext)
@NotNull TaskResult
VcsCommitTask. execute(@NotNull CommonTaskContext taskContext)
@NotNull TaskResult
VcsPushTask. execute(@NotNull CommonTaskContext commonTaskContext)
@NotNull TaskResult
VcsTagTask. execute(@NotNull CommonTaskContext taskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.vcs.task.utils
Methods in com.atlassian.bamboo.plugins.vcs.task.utils with parameters of type CommonTaskContext Modifier and Type Method Description static void
VcsTaskUtils. appendAffectedCommits(long repositoryId, @NotNull String revisionId, @NotNull CommonTaskContext commonTaskContext)
Adds information about commit made by task to task context.static @NotNull File
VcsTaskUtils. getCheckoutDirectory(@NotNull CommonTaskContext taskContext, long repositoryId)
Returns the checkout directory for the given repository, given task context. -
Uses of CommonTaskContext in com.atlassian.bamboo.process
Methods in com.atlassian.bamboo.process that return CommonTaskContext Modifier and Type Method Description @Nullable CommonTaskContext
ProcessContext. getTaskContext()
@Nullable CommonTaskContext
ProcessContextImpl. getTaskContext()
Methods in com.atlassian.bamboo.process with parameters of type CommonTaskContext Modifier and Type Method Description @NotNull com.atlassian.utils.process.ExternalProcess
ProcessService. createExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
Create a newExternalProcess
that logs to theBuildLogger
for the givenResultKey
Processes created with this method will be decorated by any applicableTaskProcessCommandDecorator
@NotNull com.atlassian.utils.process.ExternalProcess
ProcessServiceImpl. createExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
@NotNull com.atlassian.utils.process.ExternalProcess
ProcessService. executeExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
Create and executeExternalProcess
that logs to theBuildLogger
for the givenResultKey
Processes created with this method will be decorated by any applicableTaskProcessCommandDecorator
@NotNull com.atlassian.utils.process.ExternalProcess
ProcessServiceImpl. executeExternalProcess(@NotNull CommonTaskContext taskContext, @NotNull ExternalProcessBuilder processBuilder)
ProcessContext
ProcessContextFactory. forTaskContext(@NotNull CommonTaskContext taskContext)
GenerateProcessContext
for a task.ProcessContext
ProcessContextFactoryImpl. forTaskContext(@NotNull CommonTaskContext taskContext)
@NotNull Map<String,String>
EnvironmentVariableAccessor. getEnvironment(@NotNull CommonTaskContext taskContext)
UseTaskContext
as a source of environment settings.@NotNull Map<String,String>
EnvironmentVariableAccessorImpl. getEnvironment(@NotNull CommonTaskContext taskContext)
@NotNull List<String>
EnvironmentVariableAccessor. getPaths(@NotNull CommonTaskContext taskContext)
UseTaskContext
as a source of additional PATH settings.@NotNull List<String>
EnvironmentVariableAccessorImpl. getPaths(@NotNull CommonTaskContext taskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.repository
Methods in com.atlassian.bamboo.repository with parameters of type CommonTaskContext Modifier and Type Method Description static Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>>
RepositoryFunctions. idSelectorToPlanRepositoryDefinition(@NotNull CommonTaskContext commonTaskContext)
-
Uses of CommonTaskContext in com.atlassian.bamboo.task
Subinterfaces of CommonTaskContext in com.atlassian.bamboo.task Modifier and Type Interface Description interface
TaskContext
Encapsulates the environment and configuration of a task running in a building environment.Classes in com.atlassian.bamboo.task that implement CommonTaskContext Modifier and Type Class Description class
CommonTaskContextImpl
class
DeploymentTaskContextImpl
class
TaskContextImpl
Methods in com.atlassian.bamboo.task with parameters of type CommonTaskContext Modifier and Type Method Description TaskResult
CommonTaskType. execute(@NotNull CommonTaskContext taskContext)
Executes the task.Collection<PrePostTaskActions>
TaskActionExecutor. executePreTaskActions(@NotNull InternalTaskType task, @NotNull CommonTaskContext taskContext)
Run pre-task execution actions.Collection<PrePostTaskActions>
TaskActionExecutorImpl. executePreTaskActions(@NotNull InternalTaskType task, @NotNull CommonTaskContext taskContext)
static TaskResultBuilder
TaskResultBuilder. newBuilder(@NotNull CommonTaskContext taskContext)
Creates a new TaskResultBuilder for aCommonTaskContext
-
Uses of CommonTaskContext in com.atlassian.bamboo.task.repository
Methods in com.atlassian.bamboo.task.repository with parameters of type CommonTaskContext Modifier and Type Method Description static PlanRepositoryDefinition
RepositoryTaskHelper. getPlanRepositoryByIdSelector(@NotNull CommonTaskContext commonTaskContext, @NotNull String repositoryIdSelector)
-