Modifier and Type | Method and Description |
---|---|
void |
PrePostTaskActions.executeBefore(InternalTaskType task,
CommonTaskContext context)
Executes a custom action before the task is executed.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
CloverGrailsBuildTaskActions.addCloverToBuildConfigFile(CommonTaskContext context,
File buildConfigFile)
Add Clover dependencies the BuildConfig.groovy file.
|
protected boolean |
CloverGrailsBuildTaskActions.addCloverToPomFile(CommonTaskContext context,
File pomFile)
Add Clover dependencies the pom.xml file.
|
void |
CloverGrailsBuildTaskActions.executeBefore(InternalTaskType task,
CommonTaskContext context) |
protected File |
CloverGrailsBuildTaskActions.getBuildConfigFile(CommonTaskContext context)
Returns location of BuildConfig file in the workspace.
|
protected String |
CloverGrailsBuildTaskActions.getGrailsCloverPluginVersion(CommonTaskContext context)
Return version number of the Grails Clover Plugin to be installed.
|
protected File |
CloverGrailsBuildTaskActions.getPomFile(CommonTaskContext context)
Returns location of pom.xml file in the workspace.
|
protected boolean |
CloverGrailsBuildTaskActions.isRequiredGrailsSupported(CommonTaskContext context)
Returns if the project to be build requires Grails version which is supported by this action
(
CloverGrailsBuildTaskActions.MIN_GRAILS_VERSION_SUPPORTED or later) - it checks the application.config file in the working
directory. |
Modifier and Type | Interface and Description |
---|---|
interface |
DeploymentTaskContext |
Modifier and Type | Method and Description |
---|---|
TaskResult |
AntBuildTask.execute(CommonTaskContext taskContext) |
Constructor and Description |
---|
AntConfig(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
TaskResult |
ArtifactDownloaderTask.execute(CommonTaskContext taskContext) |
TaskResult |
CleanWorkingDirectoryTask.execute(CommonTaskContext taskContext) |
Modifier and Type | Method and Description |
---|---|
protected ShellConfig |
CommandBuildTask.getConfig(CommonTaskContext taskContext) |
Constructor and Description |
---|
CommandConfig(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
static String |
GrailsBuildTask.getRequiredGrailsVersion(CommonTaskContext taskContext)
Look up for 'application.properties' file and return Grails version set in it.
|
Modifier and Type | Method and Description |
---|---|
TaskResult |
Maven1BuildTask.execute(CommonTaskContext taskContext) |
TaskResult |
Maven2BuildTask.execute(CommonTaskContext taskContext) |
TaskResult |
Maven3BuildTask.execute(CommonTaskContext taskContext) |
static void |
MvnReleasePluginVariablesPublisher.injectVariablesIfExists(List<String> commandline,
File workingDir,
CommonTaskContext taskContext) |
Constructor and Description |
---|
AbstractMavenConfig(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor,
String capabilityPrefix,
String executableName) |
Maven1Config(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Maven2Config(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Maven3Config(CommonTaskContext taskContext,
CapabilityContext capabilityContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
TaskResult |
ScriptBuildTask.execute(CommonTaskContext taskContext) |
protected ScriptConfig |
ScriptBuildTask.getConfig(CommonTaskContext taskContext) |
Constructor and Description |
---|
ScriptConfig(CommonTaskContext taskContext,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
TaskResult |
AbstractShellBuildTask.execute(CommonTaskContext taskContext) |
protected TaskResult |
AbstractShellBuildTask.execute(CommonTaskContext taskContext,
ShellConfig config) |
protected abstract ShellConfig |
AbstractShellBuildTask.getConfig(CommonTaskContext taskContext) |
Modifier and Type | Method and Description |
---|---|
TaskResult |
DumpVariablesTask.execute(CommonTaskContext taskContext) |
Modifier and Type | Method and Description |
---|---|
TaskResult |
InjectVariablesTask.execute(CommonTaskContext taskContext) |
Modifier and Type | Method and Description |
---|---|
TaskResult |
VcsTagTask.execute(CommonTaskContext taskContext) |
TaskResult |
VcsBranchTask.execute(CommonTaskContext taskContext) |
TaskResult |
VcsPushTask.execute(CommonTaskContext commonTaskContext) |
TaskResult |
VcsCheckoutTask.execute(CommonTaskContext taskContext) |
TaskResult |
VcsCommitTask.execute(CommonTaskContext taskContext) |
Modifier and Type | Method and Description |
---|---|
static void |
VcsTaskUtils.appendAffectedCommits(long repositoryId,
String revisionId,
CommonTaskContext commonTaskContext)
Adds information about commit made by task to task context.
|
static File |
VcsTaskUtils.getCheckoutDirectory(CommonTaskContext taskContext,
long repositoryId)
Returns the checkout directory for the given repository, given task context.
|
Modifier and Type | Method and Description |
---|---|
CommonTaskContext |
ProcessContextImpl.getTaskContext() |
CommonTaskContext |
ProcessContext.getTaskContext() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.utils.process.ExternalProcess |
ProcessServiceImpl.createExternalProcess(CommonTaskContext taskContext,
ExternalProcessBuilder processBuilder) |
com.atlassian.utils.process.ExternalProcess |
ProcessService.createExternalProcess(CommonTaskContext taskContext,
ExternalProcessBuilder processBuilder)
Create a new
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
com.atlassian.utils.process.ExternalProcess |
ProcessServiceImpl.executeExternalProcess(CommonTaskContext taskContext,
ExternalProcessBuilder processBuilder) |
com.atlassian.utils.process.ExternalProcess |
ProcessService.executeExternalProcess(CommonTaskContext taskContext,
ExternalProcessBuilder processBuilder)
Create and execute
ExternalProcess that logs to the BuildLogger for the given ResultKey
Processes created with this method will be decorated by any applicable TaskProcessCommandDecorator |
ProcessContext |
ProcessContextFactoryImpl.forTaskContext(CommonTaskContext taskContext) |
ProcessContext |
ProcessContextFactory.forTaskContext(CommonTaskContext taskContext)
Generate
ProcessContext for a task. |
Map<String,String> |
EnvironmentVariableAccessorImpl.getEnvironment(CommonTaskContext taskContext) |
Map<String,String> |
EnvironmentVariableAccessor.getEnvironment(CommonTaskContext taskContext)
Use
TaskContext as a source of environment settings. |
List<String> |
EnvironmentVariableAccessorImpl.getPaths(CommonTaskContext taskContext) |
List<String> |
EnvironmentVariableAccessor.getPaths(CommonTaskContext taskContext)
Use
TaskContext as a source of additional PATH settings. |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<String,Result<RepositoryDefinitionException,PlanRepositoryDefinition>> |
RepositoryFunctions.idSelectorToPlanRepositoryDefinition(CommonTaskContext commonTaskContext) |
static com.google.common.base.Function<String,Result<RepositoryDefinitionException,RepositoryDefinition>> |
RepositoryFunctions.idSelectorToRepositoryDefinition(CommonTaskContext commonTaskContext) |
Modifier and Type | Interface and Description |
---|---|
interface |
TaskContext
Encapsulates the environment and configuration of a task running in a building environment.
|
Modifier and Type | Class and Description |
---|---|
class |
CommonTaskContextImpl |
class |
DeploymentTaskContextImpl |
class |
TaskContextImpl |
Modifier and Type | Method and Description |
---|---|
TaskResult |
CommonTaskType.execute(CommonTaskContext taskContext)
Executes the task.
|
Collection<PrePostTaskActions> |
TaskActionExecutor.executePreTaskActions(InternalTaskType task,
CommonTaskContext taskContext)
Run pre-task execution actions.
|
Collection<PrePostTaskActions> |
TaskActionExecutorImpl.executePreTaskActions(InternalTaskType task,
CommonTaskContext taskContext) |
static TaskResultBuilder |
TaskResultBuilder.newBuilder(CommonTaskContext taskContext)
Creates a new TaskResultBuilder for a
CommonTaskContext |
Modifier and Type | Method and Description |
---|---|
static PlanRepositoryDefinition |
RepositoryTaskHelper.getPlanRepositoryByIdSelector(CommonTaskContext commonTaskContext,
String repositoryIdSelector) |
static RepositoryDefinition |
RepositoryTaskHelper.getRepositoryDefinitionByIdSelector(CommonTaskContext commonTaskContext,
String repositoryIdSelector) |
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.