public class BackupTask extends ArrayDelegateTask
Constructor and Description |
---|
BackupTask(String workspace,
String path) |
BackupTask(String workspace,
String path,
boolean info) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected String |
getBackupPath() |
addTask, getDescription, getName, toString
public void execute(InstallContext ctx) throws TaskExecutionException
Task
execute
in interface Task
execute
in class ArrayDelegateTask
TaskExecutionException
protected String getBackupPath()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.