public class SystemInfoUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_INSTANCE_ID |
static String |
OPENNMS_INSTANCE_ID_SYS_PROP |
Constructor and Description |
---|
SystemInfoUtils() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayVersion()
Retrieves the displaying version of the current system i.e:
17.0.0
2015.1.1
This is typically equal to the string returned by getVersion(), but may differ.
|
static String |
getInstanceId()
Retrieves the instance id of the current system.
|
String |
getPackageDescription()
Retrieves the package description of the current system i.e:
OpenNMS
OpenNMS Meridian
|
String |
getPackageName()
Retrieves the package name of the current system i.e:
opennms
meridian
|
String |
getVersion()
Retrieves the version of the current system i.e:
17.0.0
2015.1.1
|
public static final String OPENNMS_INSTANCE_ID_SYS_PROP
public static final String DEFAULT_INSTANCE_ID
public static String getInstanceId()
public String getVersion()
public String getDisplayVersion()
public String getPackageName()
public String getPackageDescription()
Copyright © 2021. All rights reserved.