Class ScriptBuildTask
- java.lang.Object
-
- com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
-
- com.atlassian.bamboo.plugins.script.task.ScriptBuildTask
-
- All Implemented Interfaces:
CommonTaskType,InternalTaskType
public class ScriptBuildTask extends AbstractShellBuildTask
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
environmentVariableAccessor, processService
-
-
Constructor Summary
Constructors Constructor Description ScriptBuildTask(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, HomeDirectoryLayout homeDirectoryLayout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TaskResultexecute(@NotNull CommonTaskContext taskContext)Executes the task.protected ScriptConfiggetConfig(@NotNull CommonTaskContext taskContext)-
Methods inherited from class com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
execute
-
-
-
-
Constructor Detail
-
ScriptBuildTask
public ScriptBuildTask(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, HomeDirectoryLayout homeDirectoryLayout)
-
-
Method Detail
-
getConfig
protected ScriptConfig getConfig(@NotNull @NotNull CommonTaskContext taskContext)
- Specified by:
getConfigin classAbstractShellBuildTask
-
execute
@NotNull public @NotNull TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException
Description copied from interface:CommonTaskTypeExecutes the task.- Specified by:
executein interfaceCommonTaskType- Overrides:
executein classAbstractShellBuildTask- Returns:
- a
TaskResultrepresenting the status of the task execution - Throws:
TaskException
-
-