All ProtoData plugins were reworked to accept its internals as constructor parameters.
Test suites were fixed to avoid re-using the same instance of a plugin under the test.
Other notable changes
Simplified handling of events in FileOptionsProcess. Now the process reacts only on FileOptionsDiscovered avoiding creating entities for only files with the options of interest, not for all the files. Also, the signature of reacting receptor was improved to tell the produced type of events (FileOptionMatched) explicitly.
Returning values in some of the reacting receptors were simplified using asA() and asB() extensions.
This PR migrates McJava to new
Plugin
API recently adopted in ProtoData.Changes in details
Other notable changes
FileOptionsProcess
. Now the process reacts only onFileOptionsDiscovered
avoiding creating entities for only files with the options of interest, not for all the files. Also, the signature of reacting receptor was improved to tell the produced type of events (FileOptionMatched
) explicitly.asA()
andasB()
extensions.