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, getIdentity, getInstalledImage, getLayer, getLayerNames, getLayers, load, load
public 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()
.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 © 2013 JBoss by Red Hat. All rights reserved.