Class RulesClassCache

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Class<?>>
org.openhab.core.model.rule.scoping.RulesClassCache
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Class<?>>

public class RulesClassCache extends HashMap<String,Class<?>>
The class cache used by the RulesClassFinder for resolving classes in DSL rules. It allows for removing and updating classes in the cache when add-ons are installed or updated.
Author:
Wouter Born - Initial contribution
See Also:
  • Constructor Details

    • RulesClassCache

      public RulesClassCache()
  • Method Details

    • deactivate

      public void deactivate()
    • getInstance

      public static RulesClassCache getInstance()
    • addActionService

      public void addActionService(ActionService actionService)
    • removeActionService

      public void removeActionService(ActionService actionService)
    • addThingActions

      public void addThingActions(ThingActions thingActions)
    • removeThingActions

      public void removeThingActions(ThingActions thingActions)