public class ModuleRunner extends AbstractContextual implements Callable<Module>, Runnable
Module, including pre- and
 post-processing and event notification.
 
 This class implements both Runnable and Callable, to make it
 easier to invoke in a variety of ways, such as with the
 java.util.concurrent package.
 
| Constructor and Description | 
|---|
| ModuleRunner(Context context,
            Module module,
            List<? extends ModulePreprocessor> pre,
            List<? extends ModulePostprocessor> post) | 
| Modifier and Type | Method and Description | 
|---|---|
| Module | call() | 
| void | postProcess()Feeds the module through the  ModulePostprocessors. | 
| ModulePreprocessor | preProcess()Feeds the module through the  ModulePreprocessors. | 
| void | run()Executes the module, including pre- and post-processing and event
 notification. | 
context, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContextpublic ModuleRunner(Context context, Module module, List<? extends ModulePreprocessor> pre, List<? extends ModulePostprocessor> post)
public ModulePreprocessor preProcess()
ModulePreprocessors.public void postProcess()
ModulePostprocessors.Copyright © 2009–2022 SciJava. All rights reserved.