public abstract class InstallationManager extends InstalledIdentity
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.
|
static InstallationManager |
load(File jbossHome,
List<File> moduleRoots,
List<File> bundlesRoots,
ProductConfig productConfig)
Load the default installation manager implementation.
|
abstract InstallationManager.InstallationModification |
modifyInstallation(InstallationManager.ModificationCompletionCallback callback)
Modify the installation.
|
abstract boolean |
requiresRestart()
Check whether the instance requires a restart.
|
abstract boolean |
restartRequired()
Require a restart.
|
getAddOn, getAddOnNames, getAddOns, getAllInstalledPatches, getIdentity, getInstalledImage, getLayer, getLayerNames, getLayers, load, loadpublic abstract InstallationManager.InstallationModification modifyInstallation(InstallationManager.ModificationCompletionCallback callback)
callback - a completed callbackpublic 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 © 2014 JBoss by Red Hat. All rights reserved.