public class InstalledIdentityImpl extends InstalledIdentity
Modifier | Constructor and Description |
---|---|
protected |
InstalledIdentityImpl(Identity identity,
List<String> allPatches,
InstalledImage installedImage) |
Modifier and Type | Method and Description |
---|---|
AddOn |
getAddOn(String addOnName)
Get an add-on by name.
|
Collection<String> |
getAddOnNames()
Get a list of available add-on names.
|
Collection<AddOn> |
getAddOns()
Get a list of installed add-ons.
|
List<String> |
getAllInstalledPatches()
Get a list of all installed patches.
|
Identity |
getIdentity()
Get information about the installed identity.
|
InstalledImage |
getInstalledImage()
Get the installed image.
|
Layer |
getLayer(String layerName)
Get a layer by name.
|
List<String> |
getLayerNames()
Get a list of available layer names.
|
List<Layer> |
getLayers()
Get a list of installed layers.
|
protected AddOn |
putAddOn(String name,
AddOn addOn) |
protected Layer |
putLayer(String name,
Layer layer) |
protected void |
updateState(String name,
org.jboss.as.patching.installation.InstallationModificationImpl modification,
org.jboss.as.patching.installation.InstallationModificationImpl.InstallationState state)
Update the installed identity using the modified state from the modification.
|
copy, load, load, load, modifyInstallation
protected InstalledIdentityImpl(Identity identity, List<String> allPatches, InstalledImage installedImage)
public List<String> getAllInstalledPatches()
InstalledIdentity
getAllInstalledPatches
in class InstalledIdentity
public Identity getIdentity()
InstalledIdentity
getIdentity
in class InstalledIdentity
public List<Layer> getLayers()
InstalledIdentity
getLayers
in class InstalledIdentity
public List<String> getLayerNames()
InstalledIdentity
getLayerNames
in class InstalledIdentity
public Layer getLayer(String layerName)
InstalledIdentity
getLayer
in class InstalledIdentity
layerName
- the layer namenull
if there is no matching layerpublic Collection<String> getAddOnNames()
InstalledIdentity
getAddOnNames
in class InstalledIdentity
public AddOn getAddOn(String addOnName)
InstalledIdentity
getAddOn
in class InstalledIdentity
addOnName
- the add-on namenull
if is no matching add-onpublic Collection<AddOn> getAddOns()
InstalledIdentity
getAddOns
in class InstalledIdentity
public InstalledImage getInstalledImage()
InstalledIdentity
getInstalledImage
in class InstalledIdentity
protected void updateState(String name, org.jboss.as.patching.installation.InstallationModificationImpl modification, org.jboss.as.patching.installation.InstallationModificationImpl.InstallationState state)
updateState
in class InstalledIdentity
name
- the identity namemodification
- the modificationstate
- the installation stateCopyright © 2023 JBoss by Red Hat. All rights reserved.