Class OpenHAB

  • public class OpenHAB
    extends Object
    Some core static methods that provide information about the running openHAB instance.
    Kai Kreuzer - Initial contribution
    • Field Detail


        public static final String ADDONS_SERVICE_PID
        the service pid used for the definition of the base package and addons
        See Also:
        Constant Field Values

        public static final String CFG_PACKAGE
        the configuraton parameter name used for the base package
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenHAB

        public OpenHAB()
    • Method Detail

      • getVersion

        public static String getVersion()
        Returns the current openHAB version, retrieving the information from the core bundle version.
        the openHAB runtime version
      • buildString

        public static String buildString()