public interface ContainerDescription
| Modifier and Type | Interface and Description |
|---|---|
static class |
ContainerDescription.ModelVersion
Describes the model version.
|
| Modifier and Type | Method and Description |
|---|---|
default ContainerDescription.ModelVersion |
getModelVersion()
Returns the root model version.
|
String |
getProductName()
Returns the name of the product.
|
String |
getProductVersion()
Returns the product version, if defined, or
null if the product version was not defined. |
String |
getReleaseCodename()
Returns the release codename, if defined, or
null if the codename was not defined. |
String |
getReleaseVersion()
Returns the release version, if defined, or
null if the release version was not defined. |
static ContainerDescription |
lookup(ManagementClient client)
Queries the running container and attempts to lookup the information from the running container.
|
String getProductName()
String getProductVersion()
null if the product version was not defined.null if not definedString getReleaseCodename()
null if the codename was not defined.null if not definedString getReleaseVersion()
null if the release version was not defined.
Note that in WildFly 9+ this is usually the version for WildFly Core. In WildFly 8 this is the full version.
null if not defineddefault ContainerDescription.ModelVersion getModelVersion()
static ContainerDescription lookup(ManagementClient client) throws IOException
client - the client used to execute the management operationIOException - if an error occurs while executing the management operationCopyright © 2022 JBoss by Red Hat. All rights reserved.