Uses of Interface
com.atlassian.bamboo.task.CommonTaskContext
Package
Description
-
Uses of CommonTaskContext in com.atlassian.bamboo.chains.plugins
Modifier and TypeMethodDescriptionvoid
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
-
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.ant.task
Modifier and TypeMethodDescription@NotNull TaskResult
AntBuildTask.execute
(@NotNull CommonTaskContext taskContext) ModifierConstructorDescriptionAntConfig
(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor) -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.artifact
Modifier and TypeMethodDescription@NotNull TaskResult
ArtifactDownloaderTask.execute
(@NotNull CommonTaskContext taskContext) CleanWorkingDirectoryTask.execute
(@NotNull CommonTaskContext taskContext) -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.command.task
Modifier and TypeMethodDescriptionprotected ShellConfig
CommandBuildTask.getConfig
(@NotNull CommonTaskContext taskContext) ModifierConstructorDescriptionCommandConfig
(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor) -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.grails
Modifier and TypeMethodDescriptionstatic @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
Modifier and TypeMethodDescription@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) ModifierConstructorDescriptionAbstractMavenConfig
(@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
Modifier and TypeMethodDescription@NotNull TaskResult
ScriptBuildTask.execute
(@NotNull CommonTaskContext taskContext) protected ScriptConfig
ScriptBuildTask.getConfig
(@NotNull CommonTaskContext taskContext) ModifierConstructorDescriptionScriptConfig
(@NotNull CommonTaskContext taskContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor) -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.shell.task
Modifier and TypeMethodDescription@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
Modifier and TypeMethodDescriptionDumpVariablesTask.execute
(@NotNull CommonTaskContext taskContext) -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.variable.inject
Modifier and TypeMethodDescriptionInjectVariablesTask.execute
(@NotNull CommonTaskContext taskContext) -
Uses of CommonTaskContext in com.atlassian.bamboo.plugins.vcs.task
Modifier and TypeMethodDescription@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
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescription@Nullable CommonTaskContext
ProcessContext.getTaskContext()
@Nullable CommonTaskContext
ProcessContextImpl.getTaskContext()
Modifier and TypeMethodDescription@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) ProcessContextFactory.forTaskContext
(@NotNull CommonTaskContext taskContext) GenerateProcessContext
for a task.ProcessContextFactoryImpl.forTaskContext
(@NotNull CommonTaskContext taskContext) EnvironmentVariableAccessor.getEnvironment
(@NotNull CommonTaskContext taskContext) UseTaskContext
as a source of environment settings.EnvironmentVariableAccessorImpl.getEnvironment
(@NotNull CommonTaskContext taskContext) EnvironmentVariableAccessor.getPaths
(@NotNull CommonTaskContext taskContext) UseTaskContext
as a source of additional PATH settings.EnvironmentVariableAccessorImpl.getPaths
(@NotNull CommonTaskContext taskContext) -
Uses of CommonTaskContext in com.atlassian.bamboo.repository
Modifier and TypeMethodDescriptionRepositoryFunctions.idSelectorToPlanRepositoryDefinition
(@NotNull CommonTaskContext commonTaskContext) -
Uses of CommonTaskContext in com.atlassian.bamboo.task
Modifier and TypeInterfaceDescriptioninterface
Encapsulates the environment and configuration of a task running in a building environment.Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionCommonTaskType.execute
(@NotNull CommonTaskContext taskContext) Executes the task.TaskActionExecutor.executePreTaskActions
(@NotNull InternalTaskType task, @NotNull CommonTaskContext taskContext) Run pre-task execution actions.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
Modifier and TypeMethodDescriptionstatic PlanRepositoryDefinition
RepositoryTaskHelper.getPlanRepositoryByIdSelector
(@NotNull CommonTaskContext commonTaskContext, @NotNull String repositoryIdSelector)