|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.delta.ArrayDelegateTask
public class ArrayDelegateTask
A task that simply delegates to an array of other tasks.
Constructor Summary | |
---|---|
ArrayDelegateTask(String name)
|
|
ArrayDelegateTask(String name,
String description)
|
|
ArrayDelegateTask(String name,
String description,
Task... tasks)
|
|
ArrayDelegateTask(String name,
String description,
Task task1,
Task task2)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(String name,
String description,
Task task1,
Task task2,
Task task3)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(String name,
String description,
Task task1,
Task task2,
Task task3,
Task task4)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(String name,
Task... tasks)
|
|
ArrayDelegateTask(String name,
Task task1,
Task task2)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(String name,
Task task1,
Task task2,
Task task3)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(String name,
Task task1,
Task task2,
Task task3,
Task task4)
Since 4.2: replaced by the varargs constructor. |
Method Summary | |
---|---|
void |
addTask(Task task)
Tasks are meant to be immutable. |
void |
execute(InstallContext ctx)
A good-citizen task should execute itself responsibly: it should know what to do in case of problems: for instance, fixable or irrelevant issues should usually just be logged used the InstallContext methods, when the user can fix them later on. |
String |
getDescription()
Description what will happen during the execution. |
String |
getName()
Description of what has changed. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayDelegateTask(String name)
public ArrayDelegateTask(String name, String description)
public ArrayDelegateTask(String name, Task... tasks)
public ArrayDelegateTask(String name, String description, Task... tasks)
public ArrayDelegateTask(String name, Task task1, Task task2)
public ArrayDelegateTask(String name, String description, Task task1, Task task2)
public ArrayDelegateTask(String name, Task task1, Task task2, Task task3)
public ArrayDelegateTask(String name, String description, Task task1, Task task2, Task task3)
public ArrayDelegateTask(String name, Task task1, Task task2, Task task3, Task task4)
public ArrayDelegateTask(String name, String description, Task task1, Task task2, Task task3, Task task4)
Method Detail |
---|
public String getName()
Task
getName
in interface Task
public void addTask(Task task)
public String getDescription()
Task
getDescription
in interface Task
public void execute(InstallContext ctx) throws TaskExecutionException
Task
execute
in interface Task
TaskExecutionException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |