use of com.sun.enterprise.backup.RestoreManager in project Payara by payara.
the class RestoreDomainCommand method executeCommand.
/**
*/
@Override
protected int executeCommand() throws CommandException {
try {
RestoreManager mgr = new RestoreManager(request);
logger.info(mgr.restore());
} catch (BackupWarningException bwe) {
logger.info(bwe.getMessage());
} catch (BackupException be) {
throw new CommandException(be);
}
return 0;
}
Aggregations