public abstract class AbstractShellBuildTask extends Object implements CommonTaskType
| Modifier and Type | Field and Description |
|---|---|
protected EnvironmentVariableAccessor |
environmentVariableAccessor |
protected ProcessService |
processService |
| Constructor and Description |
|---|
AbstractShellBuildTask(EnvironmentVariableAccessor environmentVariableAccessor,
ProcessService processService) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull TaskResult |
execute(@NotNull CommonTaskContext taskContext)
Executes the task.
|
protected TaskResult |
execute(CommonTaskContext taskContext,
ShellConfig config) |
protected abstract ShellConfig |
getConfig(@NotNull CommonTaskContext taskContext) |
protected final EnvironmentVariableAccessor environmentVariableAccessor
protected final ProcessService processService
public AbstractShellBuildTask(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService)
protected abstract ShellConfig getConfig(@NotNull @NotNull CommonTaskContext taskContext)
@NotNull public @NotNull TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException
CommonTaskTypeexecute in interface CommonTaskTypeTaskResult representing the status of the task executionTaskExceptionprotected TaskResult execute(CommonTaskContext taskContext, ShellConfig config) throws TaskException
TaskExceptionCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.