Package org.openhab.core.types
package org.openhab.core.types
-
ClassDescriptionThis is a marker interface for all command types.The
CommandDescription
groups state command properties.Used to build instances ofCommandDescription
.Implementations provide an item specific, localizedCommandDescription
.Represents a command option for "write only" command channels.A complex type consists out of a sorted list of primitive constituents.Describes event options and gives information how to interpret it.Describes one possible value an event might have.Due to the duality of some types (which can be states and commands at the same time), we need to be able to differentiate what the meaning of a message on the bus is - does "item ON" mean that its state has changed to ON or that it should turn itself ON? To decide this, we send the event type as an additional information on the event bus for each message.A primitive type consists of a single value like a string, a number, etc.This is a marker interface for all state types.TheStateDescription
describes restrictions of an item state and gives information how to interpret it.AStateDescriptionFragment
will deliver only the parts of aStateDescription
it knows of.Builds aStateDescriptionFragment
with the relevant parts only.Provide aStateDescriptionFragment
for the currentStateDescription
.Describes one possible value an item might have.TheTimeSeries
is used to transport a set of states together with their timestamp.This is a parent interface for all states and commands.This is a helper class that helps parsing a string into an openHAB type (state or command).There are situations when item states do not have any defined value.