public final class FileBatchService extends AbstractHandlerService<BatchInput,BatchInputProvider<?>> implements BatchService
Constructor and Description |
---|
FileBatchService() |
Modifier and Type | Method and Description |
---|---|
<I> void |
fillInput(Module module,
ModuleItem<?> moduleItem,
I inputObject)
Fill a provided ModuleItem with a given input object
|
Class<BatchInputProvider<?>> |
getPluginType()
Gets the type of plugins managed by this service.
|
Class<BatchInput> |
getType()
Gets the type associated with the object.
|
void |
run(ModuleInfo moduleInfo)
Run the module described by
ModuleInfo in batch. |
boolean |
supportsItem(ModuleItem<?> moduleItem)
Returns true if
type is a File . |
getInstance, getInstances, objectService, onEvent, onEvent
pluginService
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
batchableInputs, supportsModule
getHandler, getInstances, supports
create, filterInstances, getInstance, initialize, objectService
find
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public boolean supportsItem(ModuleItem<?> moduleItem)
type
is a File
.supportsItem
in interface BatchService
public <I> void fillInput(Module module, ModuleItem<?> moduleItem, I inputObject)
BatchService
fillInput
in interface BatchService
public void run(ModuleInfo moduleInfo)
BatchService
ModuleInfo
in batch.run
in interface BatchService
public Class<BatchInputProvider<?>> getPluginType()
PTService
getPluginType
in interface PTService<BatchInputProvider<?>>
public Class<BatchInput> getType()
Typed
getType
in interface Typed<BatchInput>
Copyright © 2015–2022 SciJava. All rights reserved.