public abstract class AbstractRepositoryTask extends AbstractTask
DO_NOTHING, log
Constructor and Description |
---|
AbstractRepositoryTask(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doExecute(InstallContext installContext) |
void |
execute(InstallContext installContext)
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.
|
getDescription, getName, toString
public void execute(InstallContext installContext) throws TaskExecutionException
Task
TaskExecutionException
protected abstract void doExecute(InstallContext installContext) throws javax.jcr.RepositoryException, TaskExecutionException
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.