scijava / batch-processor

A Batch Processor for SciJava
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

Add input provider plugins #18

Closed imagejan closed 6 years ago

imagejan commented 6 years ago

This change makes batch processing extensible by allowing plugins implementing the BatchInputProvider interface to support custom script parameter inputs, such as net.imagej.Dataset which will be provided in the imagej-plugins-batch project.

Because BatchService now extends HandlerService, I needed to rename the supports() methods more concisely into supportsModule() and supportsItem(), to avoid overriding supports() from HandlerService. Since we are still pre-1.0.0, we can change the API freely, but bump the version to 0.2.0-SNAPSHOT to reflect this API change.