public abstract class CommandsTask extends AbstractTask
ENV_BUNDLES, ENV_CONFIG, ENV_EAR, ENV_HOME, ENV_HOSTAPP_NAME, ENV_HOSTAPP_VERSION, ENV_LIB, ENV_SERVER_HOME, ENV_SYSLIB, ENV_TEMPLATES, ENV_TIMESTAMP, PKG_ID, PKG_NAME, PKG_ROOT, PKG_VERSION| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(Command command)
Adds a command to this task.
|
void |
doValidate(org.nuxeo.connect.update.ValidationStatus status) |
List<Command> |
getCommandLog()
Gets the command log.
|
List<Command> |
getCommands()
Gets the commands to execute.
|
void |
initialize(org.nuxeo.connect.update.LocalPackage pkg,
boolean restart) |
String |
parametrizePaths(String content) |
void |
readLog(Reader reader) |
void |
writeLog(File file) |
getFile, getPackage, isInstallTask, isRestartRequired, rollback, run, setRestartRequired, validatepublic void initialize(org.nuxeo.connect.update.LocalPackage pkg,
boolean restart)
throws org.nuxeo.connect.update.PackageException
initialize in interface org.nuxeo.connect.update.task.Taskinitialize in class AbstractTaskorg.nuxeo.connect.update.PackageExceptionpublic List<Command> getCommandLog()
public void addCommand(Command command)
public void doValidate(org.nuxeo.connect.update.ValidationStatus status)
throws org.nuxeo.connect.update.PackageException
doValidate in class AbstractTaskorg.nuxeo.connect.update.PackageExceptionpublic void writeLog(File file) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageExceptionpublic void readLog(Reader reader) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.