Class EventDescription

java.lang.Object
org.openhab.core.types.EventDescription

public class EventDescription extends Object
Describes event options and gives information how to interpret it.
Author:
Moritz Kammerer - Initial contribution
  • Constructor Details

    • EventDescription

      public EventDescription(List<EventOption> options)
      Creates an event description object.
      Parameters:
      options - predefined list of options
  • Method Details

    • getOptions

      public List<EventOption> getOptions()
      Returns a list of predefined events with their label.
      Returns:
      list of predefined events with their label
    • toString

      public String toString()
      Overrides:
      toString in class Object