Package org.nuxeo.connect.update.live
Class UpdateServiceImpl
- java.lang.Object
-
- org.nuxeo.connect.update.standalone.StandaloneUpdateService
-
- org.nuxeo.connect.update.live.UpdateServiceImpl
-
- All Implemented Interfaces:
org.nuxeo.connect.update.PackageUpdateService
public class UpdateServiceImpl extends StandaloneUpdateService implements org.nuxeo.connect.update.PackageUpdateService
- Author:
- Bogdan Stefanescu
-
-
Field Summary
-
Fields inherited from class org.nuxeo.connect.update.standalone.StandaloneUpdateService
commands, persistence, xmap
-
-
Constructor Summary
Constructors Constructor Description UpdateServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
addCommands()
String
getDefaultInstallTaskType()
String
getDefaultUninstallTaskType()
void
restart()
Deprecated.since 9.10 - useorg.nuxeo.ecm.admin.NuxeoCtlManager#restart()
instead.-
Methods inherited from class org.nuxeo.connect.update.standalone.StandaloneUpdateService
addCommand, addPackage, createXmap, getActivePackage, getBackupDir, getCommand, getDataDir, getInstallDate, getPackage, getPackages, getPersistence, getRegistry, getXmap, initialize, isStarted, loadPackage, loadPackage, loadPackageFromZip, removeCommand, removePackage, reset, setPackageState, setPackageState, shutdown, startInstalledPackages
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.connect.update.PackageUpdateService
addPackage, getActivePackage, getBackupDir, getCommand, getDataDir, getInstallDate, getPackage, getPackages, getRegistry, initialize, isStarted, loadPackage, loadPackage, loadPackageFromZip, removePackage, reset, setPackageState, setPackageState, shutdown
-
-
-
-
Constructor Detail
-
UpdateServiceImpl
public UpdateServiceImpl() throws IOException
- Throws:
IOException
-
-
Method Detail
-
addCommands
protected void addCommands()
- Overrides:
addCommands
in classStandaloneUpdateService
-
restart
@Deprecated public void restart() throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.10 - useorg.nuxeo.ecm.admin.NuxeoCtlManager#restart()
instead.- Specified by:
restart
in interfaceorg.nuxeo.connect.update.PackageUpdateService
- Overrides:
restart
in classStandaloneUpdateService
- Throws:
org.nuxeo.connect.update.PackageException
-
getDefaultInstallTaskType
public String getDefaultInstallTaskType()
- Specified by:
getDefaultInstallTaskType
in interfaceorg.nuxeo.connect.update.PackageUpdateService
- Overrides:
getDefaultInstallTaskType
in classStandaloneUpdateService
-
getDefaultUninstallTaskType
public String getDefaultUninstallTaskType()
- Specified by:
getDefaultUninstallTaskType
in interfaceorg.nuxeo.connect.update.PackageUpdateService
- Overrides:
getDefaultUninstallTaskType
in classStandaloneUpdateService
-
-