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 TaskResult
execute(@NotNull CommonTaskContext taskContext)
Executes the task.protected ScriptConfig
getConfig(@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:
getConfig
in classAbstractShellBuildTask
-
execute
@NotNull public @NotNull TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException
Description copied from interface:CommonTaskType
Executes the task.- Specified by:
execute
in interfaceCommonTaskType
- Overrides:
execute
in classAbstractShellBuildTask
- Returns:
- a
TaskResult
representing the status of the task execution - Throws:
TaskException
-
-