You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ops/OpCollections violate the contract of SciJavaPlugin #67
Top-level interface for plugins. Plugins discoverable at runtime must implement this interface and be annotated with @plugin.
Ops (and OpCollections) do not implement Op (and OpCollection), thus violating the contract.
Note that we might be able to avoid this issue via #55, thus we should postpone any decisions/effort on rectifying this issue until #55 has been solved.
If I recall correctly, our plan for SciJava 3 was to remove the requirement to implement SciJavaPlugin, so that plain Function implementations can be annotated, for example.
Otherwise, you'd need to have something like a SciJavaPluginFunction that extends both SciJavaPlugin and Function in order to legally annotated it with @Plugin.
But nowhere does it say that you need to implement the Op interface specifically, or that Op needs to extend SciJavaPlugin.
Thus it is unlikely that we must actually implement eitherOp/OpCollection or SciJavaPlugin. However we must wait for SciJava 3 to align with the (new) contract of SciJavaPlugin
Activity
gselzer commentedon Jul 29, 2021
Taken from discussion with @ctrueden on Gitter
Thus it is unlikely that we must actually implement either
Op/OpCollectionorSciJavaPlugin. However we must wait for SciJava 3 to align with the (new) contract ofSciJavaPlugingselzer commentedon May 13, 2022
Seeing as how SciJava3 components no longer rely on the Plugin framework, this issue has become irrelevant.
Merge pull request #67 from scijava/scijava/scijava-ops-engine/yaml-d…