com.atlassian.bamboo.plugins.script.task
Class ScriptBuildTask

java.lang.Object
  extended by com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
      extended by 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
ScriptBuildTask(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService)
           
 
Method Summary
 TaskResult execute(CommonTaskContext taskContext)
          Executes the task.
protected  ScriptConfig getConfig(CommonTaskContext taskContext)
           
 
Methods inherited from class com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptBuildTask

public ScriptBuildTask(EnvironmentVariableAccessor environmentVariableAccessor,
                       ProcessService processService)
Method Detail

getConfig

protected ScriptConfig getConfig(@NotNull
                                 CommonTaskContext taskContext)
Specified by:
getConfig in class AbstractShellBuildTask

execute

@NotNull
public TaskResult execute(@NotNull
                                  CommonTaskContext taskContext)
                   throws TaskException
Description copied from interface: CommonTaskType
Executes the task.

Specified by:
execute in interface CommonTaskType
Overrides:
execute in class AbstractShellBuildTask
Returns:
a TaskResult representing the status of the task execution
Throws:
TaskException


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.