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:
InternalTaskType<TaskContext>, TaskType

public class ScriptBuildTask
extends AbstractShellBuildTask
implements TaskType


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(TaskContext taskContext)
          Execute the task
protected  ScriptConfig getConfig(TaskContext 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
                                 TaskContext taskContext)
Specified by:
getConfig in class AbstractShellBuildTask

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
Overrides:
execute in class AbstractShellBuildTask
Returns:
a TaskResult representing the status of the task execution
Throws:
TaskException


Copyright © 2011 Atlassian. All Rights Reserved.