public abstract class InstallationManager extends Object
InstalledIdentity.| Modifier and Type | Class and Description |
|---|---|
static interface |
InstallationManager.InstallationModification |
static interface |
InstallationManager.ModificationCompletionCallback |
static interface |
InstallationManager.MutablePatchingTarget |
| Constructor and Description |
|---|
InstallationManager() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clearRestartRequired()
Clear the the restart required state.
|
abstract InstalledIdentity |
getDefaultIdentity() |
abstract List<InstalledIdentity> |
getInstalledIdentities() |
abstract InstalledIdentity |
getInstalledIdentity(String productName,
String productVersion) |
abstract InstalledImage |
getInstalledImage() |
static InstallationManager |
load(File jbossHome,
List<File> moduleRoots,
List<File> bundlesRoots,
ProductConfig productConfig)
Load the default installation manager implementation.
|
abstract boolean |
requiresRestart()
Check whether the instance requires a restart.
|
abstract boolean |
restartRequired()
Require a restart.
|
public abstract InstalledIdentity getDefaultIdentity()
public abstract List<InstalledIdentity> getInstalledIdentities() throws PatchingException
PatchingExceptionpublic abstract InstalledIdentity getInstalledIdentity(String productName, String productVersion) throws PatchingException
PatchingExceptionpublic abstract InstalledImage getInstalledImage()
public abstract boolean requiresRestart()
true if a restart is required, false otherwisepublic abstract boolean restartRequired()
clearRestartRequired().truepublic abstract void clearRestartRequired()
public static InstallationManager load(File jbossHome, List<File> moduleRoots, List<File> bundlesRoots, ProductConfig productConfig) throws IOException
jbossHome - the jboss home directorymoduleRoots - the module rootsbundlesRoots - the bundle rootsproductConfig - the product configIOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.