Class StateAndCommandProvider

java.lang.Object
org.openhab.core.model.script.scoping.StateAndCommandProvider

public class StateAndCommandProvider extends Object
This is a class which provides all available states and commands (obviously only the enum-based ones with a fixed name). A future version might gather the sets through an extension mechanism, for the moment it is simply statically coded.
Author:
Kai Kreuzer - Initial contribution
  • Field Details

    • COMMANDS

      protected static final Set<Command> COMMANDS
    • STATES

      protected static final Set<State> STATES
    • TYPES

      protected static final Set<Type> TYPES
  • Constructor Details

    • StateAndCommandProvider

      public StateAndCommandProvider()
  • Method Details