Class RulesClassCache
- All Implemented Interfaces:
Serializable,Cloneable,Map<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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionService(ActionService actionService) voidaddThingActions(ThingActions thingActions) voidstatic RulesClassCachevoidremoveActionService(ActionService actionService) voidremoveThingActions(ThingActions thingActions) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
RulesClassCache
public RulesClassCache()
-
-
Method Details
-
deactivate
public void deactivate() -
getInstance
-
addActionService
-
removeActionService
-
addThingActions
-
removeThingActions
-