public interface BatchService extends HandlerService<BatchInput,BatchInputProvider<?>>, SciJavaService
Modifier and Type | Method and Description |
---|---|
default List<ModuleItem<?>> |
batchableInputs(ModuleInfo moduleInfo)
A collection of input
ModuleItem s 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, supports
create, filterInstances, getInstance, initialize, objectService
find
getPlugins, getPluginService, getPluginType, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
default 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)
ModuleItem
s 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.