|
||||||||||
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(java.lang.String name)
|
|
ArrayDelegateTask(java.lang.String name,
java.lang.String description)
|
|
ArrayDelegateTask(java.lang.String name,
java.lang.String description,
Task... tasks)
|
|
ArrayDelegateTask(java.lang.String name,
java.lang.String description,
Task task1,
Task task2)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(java.lang.String name,
java.lang.String description,
Task task1,
Task task2,
Task task3)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(java.lang.String name,
java.lang.String description,
Task task1,
Task task2,
Task task3,
Task task4)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(java.lang.String name,
Task... tasks)
|
|
ArrayDelegateTask(java.lang.String name,
Task task1,
Task task2)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(java.lang.String name,
Task task1,
Task task2,
Task task3)
Since 4.2: replaced by the varargs constructor. |
|
ArrayDelegateTask(java.lang.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. |
java.lang.String |
getDescription()
Description what will happen during the execution. |
java.lang.String |
getName()
Description of what has changed. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayDelegateTask(java.lang.String name)
public ArrayDelegateTask(java.lang.String name, java.lang.String description)
public ArrayDelegateTask(java.lang.String name, Task... tasks)
public ArrayDelegateTask(java.lang.String name, java.lang.String description, Task... tasks)
public ArrayDelegateTask(java.lang.String name, Task task1, Task task2)
public ArrayDelegateTask(java.lang.String name, java.lang.String description, Task task1, Task task2)
public ArrayDelegateTask(java.lang.String name, Task task1, Task task2, Task task3)
public ArrayDelegateTask(java.lang.String name, java.lang.String description, Task task1, Task task2, Task task3)
public ArrayDelegateTask(java.lang.String name, Task task1, Task task2, Task task3, Task task4)
public ArrayDelegateTask(java.lang.String name, java.lang.String description, Task task1, Task task2, Task task3, Task task4)
Method Detail |
---|
public java.lang.String getName()
Task
getName
in interface Task
public void addTask(Task task)
public java.lang.String getDescription()
Task
getDescription
in interface Task
public void execute(InstallContext ctx) throws TaskExecutionException
Task
execute
in interface Task
TaskExecutionException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |