public class Version extends Object
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_NUMBER_FORMAT |
static String |
VERSION_OPTION |
Constructor and Description |
---|
Version()
Use this only if you want the version info of core thermostat.
|
Version(org.osgi.framework.Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
int |
getMajor() |
int |
getMicro() |
int |
getMinor() |
String |
getVersionInfo() |
String |
getVersionNumber() |
public static final String VERSION_OPTION
public static final String VERSION_NUMBER_FORMAT
public Version()
public Version(org.osgi.framework.Bundle bundle)
bundle
- The bundle to determine the version for.public String getVersionInfo()
public String getVersionNumber()
public int getMajor()
public int getMinor()
public int getMicro()
Copyright © 2018. All rights reserved.