Interface ContainerDescription
-
@Deprecated(forRemoval=true) public interface ContainerDescription
Deprecated, for removal: This API element is subject to removal in a future version.Information about the running container.- Author:
- James R. Perkins
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContainerDescription.ModelVersionDeprecated, for removal: This API element is subject to removal in a future version.Describes the model version.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default ContainerDescription.ModelVersiongetModelVersion()Deprecated, for removal: This API element is subject to removal in a future version.Returns the root model version.StringgetProductName()Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the product.StringgetProductVersion()Deprecated, for removal: This API element is subject to removal in a future version.Returns the product version, if defined, ornullif the product version was not defined.StringgetReleaseCodename()Deprecated, for removal: This API element is subject to removal in a future version.Returns the release codename, if defined, ornullif the codename was not defined.StringgetReleaseVersion()Deprecated, for removal: This API element is subject to removal in a future version.Returns the release version, if defined, ornullif the release version was not defined.static ContainerDescriptionlookup(ManagementClient client)Deprecated, for removal: This API element is subject to removal in a future version.Queries the running container and attempts to lookup the information from the running container.
-
-
-
Method Detail
-
getProductName
String getProductName()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the product.- Returns:
- the name of the product
-
getProductVersion
String getProductVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the product version, if defined, ornullif the product version was not defined.- Returns:
- the product version or
nullif not defined
-
getReleaseCodename
String getReleaseCodename()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the release codename, if defined, ornullif the codename was not defined.- Returns:
- the codename or
nullif not defined
-
getReleaseVersion
String getReleaseVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the release version, if defined, ornullif 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.
- Returns:
- the release version or
nullif not defined
-
getModelVersion
default ContainerDescription.ModelVersion getModelVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the root model version.- Returns:
- the model version
-
lookup
static ContainerDescription lookup(ManagementClient client) throws IOException
Deprecated, for removal: This API element is subject to removal in a future version.Queries the running container and attempts to lookup the information from the running container.- Parameters:
client- the client used to execute the management operation- Returns:
- the container description
- Throws:
IOException- if an error occurs while executing the management operation
-
-