com.atlassian.bamboo.plugins.shell.task
Class AbstractShellBuildTask
java.lang.Object
com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
- All Implemented Interfaces:
- CommonTaskType, InternalTaskType
- Direct Known Subclasses:
- CommandBuildTask, ScriptBuildTask
public abstract class AbstractShellBuildTask
- extends java.lang.Object
- implements CommonTaskType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
environmentVariableAccessor
protected final EnvironmentVariableAccessor environmentVariableAccessor
processService
protected final ProcessService processService
AbstractShellBuildTask
public AbstractShellBuildTask(EnvironmentVariableAccessor environmentVariableAccessor,
ProcessService processService)
getConfig
protected abstract ShellConfig getConfig(@NotNull
CommonTaskContext taskContext)
execute
@NotNull
public TaskResult execute(@NotNull
CommonTaskContext taskContext)
throws TaskException
- Description copied from interface:
CommonTaskType
- Executes the task.
- Specified by:
execute in interface CommonTaskType
- Returns:
- a
TaskResult representing the status of the task execution
- Throws:
TaskException
execute
protected TaskResult execute(CommonTaskContext taskContext,
ShellConfig config)
throws TaskException
- Throws:
TaskException
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.