public interface PreprocessorPlugin extends SciJavaPlugin, Contextual, ModulePreprocessor
Module
. Typically, a preprocessor
prepares the module for execution in some way, such as populating module
inputs or checking prerequisites.
Preprocessor plugins discoverable at runtime must implement this interface
and be annotated with @Plugin
with attribute Plugin.type()
=
PreprocessorPlugin
.class. While it possible to create a preprocessor
plugin merely by implementing this interface, it is encouraged to instead
extend AbstractPreprocessorPlugin
, for convenience.
ModulePreprocessor
context, getContext, setContext
process
cancel, getCancelReason, isCanceled
Copyright © 2015–2022 SciJava. All rights reserved.