Package org.openhab.core.items.events
Class GroupStateUpdatedEvent
java.lang.Object
org.openhab.core.events.AbstractEvent
org.openhab.core.items.events.ItemEvent
org.openhab.core.items.events.ItemStateUpdatedEvent
org.openhab.core.items.events.GroupStateUpdatedEvent
- All Implemented Interfaces:
Event
GroupStateUpdatedEvent
s can be used to deliver group item state updates through the openHAB event bus.
In contrast to the GroupItemStateChangedEvent
it is always sent.
State events must be created with the ItemEventFactory
.- Author:
- Jan N. Klug - Initial contribution
-
Field Summary
Fields inherited from class org.openhab.core.items.events.ItemStateUpdatedEvent
itemState
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openhab.core.items.events.ItemStateUpdatedEvent
getItemState
Methods inherited from class org.openhab.core.items.events.ItemEvent
getItemName
Methods inherited from class org.openhab.core.events.AbstractEvent
equals, getPayload, getSource, getTopic, hashCode
-
Field Details
-
TYPE
The group item state changed event type.
-
-
Constructor Details
-
GroupStateUpdatedEvent
-
-
Method Details
-
getMemberName
- Returns:
- the name of the changed group member
-
getType
Description copied from interface:Event
Gets the event type.- Specified by:
getType
in interfaceEvent
- Overrides:
getType
in classItemStateUpdatedEvent
- Returns:
- the event type
-
toString
- Overrides:
toString
in classItemStateUpdatedEvent
-