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
PatchingException
public abstract InstalledIdentity getInstalledIdentity(String productName, String productVersion) throws PatchingException
PatchingException
public abstract InstalledImage getInstalledImage()
public abstract boolean requiresRestart()
true
if a restart is required, false
otherwisepublic abstract boolean restartRequired()
clearRestartRequired()
.true
public 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 configIOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.