public class InstallationManagerImpl extends InstallationManager
InstallationManager.InstallationModification, InstallationManager.ModificationCompletionCallback, InstallationManager.MutablePatchingTarget| Constructor and Description |
|---|
InstallationManagerImpl(InstalledImage installedImage,
List<File> moduleRoots,
List<File> bundlesRoots,
ProductConfig productConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRestartRequired()
Clear the the restart required state.
|
InstalledIdentity |
getDefaultIdentity() |
List<InstalledIdentity> |
getInstalledIdentities()
This method will return a list of installed identities for which
the corresponding .conf file exists under .installation directory.
|
InstalledIdentity |
getInstalledIdentity(String productName,
String productVersion)
This method returns the installed identity with the requested name and version.
|
InstalledImage |
getInstalledImage() |
boolean |
requiresRestart()
Check whether the instance requires a restart.
|
boolean |
restartRequired()
Require a restart.
|
loadpublic InstallationManagerImpl(InstalledImage installedImage, List<File> moduleRoots, List<File> bundlesRoots, ProductConfig productConfig) throws IOException
IOExceptionpublic InstalledIdentity getInstalledIdentity(String productName, String productVersion) throws PatchingException
getInstalledIdentity in class InstallationManagerproductName - productVersion - PatchingExceptionpublic InstalledIdentity getDefaultIdentity()
getDefaultIdentity in class InstallationManagerpublic List<InstalledIdentity> getInstalledIdentities() throws PatchingException
getInstalledIdentities in class InstallationManagerPatchingExceptionpublic InstalledImage getInstalledImage()
getInstalledImage in class InstallationManagerpublic boolean requiresRestart()
InstallationManagerrequiresRestart in class InstallationManagertrue if a restart is required, false otherwisepublic boolean restartRequired()
InstallationManagerInstallationManager.clearRestartRequired().restartRequired in class InstallationManagertruepublic void clearRestartRequired()
InstallationManagerclearRestartRequired in class InstallationManagerCopyright © 2021 JBoss by Red Hat. All rights reserved.