public interface BatchService extends HandlerService<BatchInput,BatchInputProvider<?>>, SciJavaService
| Modifier and Type | Method and Description |
|---|---|
default List<ModuleItem<?>> |
batchableInputs(ModuleInfo moduleInfo)
A collection of input
ModuleItems of the given ModuleInfo
that are supported (i.e. |
<I> void |
fillInput(Module module,
ModuleItem<?> moduleItem,
I inputObject)
Fill a provided ModuleItem with a given input object
|
void |
run(ModuleInfo moduleInfo)
Run the module described by
ModuleInfo in batch. |
boolean |
supportsItem(ModuleItem<?> moduleItem)
Returns true if
type can be populated with batch inputs provided
by this service |
default boolean |
supportsModule(ModuleInfo moduleInfo)
Returns true if
moduleInfo has at least one input item whose type
is supported by this service |
getHandler, getInstances, supportscreate, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, getPluginType, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault boolean supportsModule(ModuleInfo moduleInfo)
moduleInfo has at least one input item whose type
is supported by this serviceboolean supportsItem(ModuleItem<?> moduleItem)
type can be populated with batch inputs provided
by this servicevoid run(ModuleInfo moduleInfo)
ModuleInfo in batch.default List<ModuleItem<?>> batchableInputs(ModuleInfo moduleInfo)
ModuleItems of the given ModuleInfo
that are supported (i.e. can be batch-processed) by this service<I> void fillInput(Module module, ModuleItem<?> moduleItem, I inputObject)
I - Copyright © 2015–2022 SciJava. All rights reserved.