public class InstalledIdentityImpl extends InstalledIdentity
Modifier | Constructor and Description |
---|---|
protected |
InstalledIdentityImpl(Identity identity,
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.
|
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) |
load, load
protected InstalledIdentityImpl(Identity identity, InstalledImage installedImage)
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
Copyright © 2013 JBoss by Red Hat. All rights reserved.