openhab-core/bundles/org.openhab.core.model.rule
Wouter Born 0d1a15ef34
Update ActionService and ThingActions classes in Xtext cache (#1714)
Xtext uses a cache for looking up classes when rules are run.
It also adds a null class value to this cache when a class is not found.

Once a value has entered the cache it will not be updated.
This causes the cache to return the wrong class (or the null value) when
calling static methods on ActionService and ThingActions classes that
were added/updated.

With the changes in this PR Xtext will be configured to use a custom cache
that updates the ActionService and ThingActions class references.

The PR also has a fix for the AnnotatedThingActionModuleTypeProvider not
properly sending ModuleType removed events when all ThingActions
registrations have been removed.

Fixes #1265
Fixes #1694

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-13 23:17:57 +02:00
..
src/org/openhab/core/model/rule Update ActionService and ThingActions classes in Xtext cache (#1714) 2020-10-13 23:17:57 +02:00
.classpath Switch to Java 11 and drop Java 8 support (#1305) 2020-01-12 22:32:28 +01:00
.gitignore mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
.project mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
bnd.bnd Upgrade Xtext/Xtend to 2.23.0 and LSP 0.9.0 (#1685) 2020-10-04 12:27:58 +02:00
model.profile-marker mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
NOTICE Updated NOTICE files to openHAB (#578) 2019-02-15 10:46:18 +01:00
plugin.xml Renamed packages 2019-12-28 12:18:16 +01:00
pom.xml Applied spotless formatter (#1302) 2019-12-30 22:55:19 +01:00