com.atlassian.bamboo.plugins.shell.task
Class AbstractShellBuildTask
java.lang.Object
com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
- All Implemented Interfaces:
- InternalTaskType<TaskContext>, TaskType
- Direct Known Subclasses:
- CommandBuildTask, ScriptBuildTask
public abstract class AbstractShellBuildTask
- extends java.lang.Object
- implements TaskType
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
TaskContext taskContext)
execute
@NotNull
public TaskResult execute(@NotNull
TaskContext taskContext)
throws TaskException
- Description copied from interface:
TaskType
- Execute the task
- Specified by:
execute
in interface InternalTaskType<TaskContext>
- Specified by:
execute
in interface TaskType
- Returns:
- a
TaskResult
representing the status of the task execution
- Throws:
TaskException
execute
protected TaskResult execute(TaskContext taskContext,
ShellConfig config)
throws TaskException
- Throws:
TaskException
Copyright © 2012 Atlassian. All Rights Reserved.