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 extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addActionService
(ActionService actionService) void
addThingActions
(ThingActions thingActions) void
static RulesClassCache
void
removeActionService
(ActionService actionService) void
removeThingActions
(ThingActions thingActions) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods 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
-