public class ArrayDelegateTask extends Object implements Task
Constructor and Description |
---|
ArrayDelegateTask(String name) |
ArrayDelegateTask(String name,
String description) |
ArrayDelegateTask(String name,
String description,
Task... tasks) |
ArrayDelegateTask(String name,
Task... tasks) |
Modifier and Type | Method and Description |
---|---|
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() |
public ArrayDelegateTask(String name)
public String getName()
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
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.