|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.ant.task.AbstractSingleAntBuildTask
public abstract class AbstractSingleAntBuildTask
A Bamboo task that executes Ant task. Subclasses need to provide an instance of the Ant task that is ready to execute.
| Constructor Summary | |
|---|---|
AbstractSingleAntBuildTask()
|
|
| Method Summary | |
|---|---|
protected abstract org.apache.tools.ant.Task |
createTask(TaskContext taskContext)
Create Ant task ready for execution. |
TaskResult |
execute(TaskContext taskContext)
Execute the task |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSingleAntBuildTask()
| Method Detail |
|---|
@NotNull
public final TaskResult execute(@NotNull
TaskContext taskContext)
throws TaskException
TaskType
execute in interface InternalTaskType<TaskContext>execute in interface TaskTypeTaskResult representing the status of the task execution
TaskException
protected abstract org.apache.tools.ant.Task createTask(TaskContext taskContext)
throws TaskException
taskContext - task context
TaskException - if failed to create Ant task to execute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||