Package org.scijava.script.process
Interface ScriptProcessorService
-
- All Superinterfaces:
Comparable<Prioritized>,Contextual,Disposable,HasPluginInfo,Identifiable,Initializable,Locatable,Logged,Prioritized,PTService<ScriptProcessor>,RichPlugin,SciJavaPlugin,SciJavaService,Service,Versioned
- All Known Implementing Classes:
DefaultScriptProcessorService
public interface ScriptProcessorService extends PTService<ScriptProcessor>, SciJavaService
Interface for service that processes scripts. This service discovers availableScriptProcessorplugins, and provides convenience methods to interact with them.- Author:
- Curtis Rueden
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Class<ScriptProcessor>getPluginType()Gets the type of plugins managed by this service.default Stringprocess(ScriptInfo info)Invokes allScriptProcessorplugins on the given script, line by line in sequence.-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.Disposable
dispose
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.PTService
create, getPlugins, getPluginService, pluginService
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
process
default String process(ScriptInfo info) throws IOException
Invokes allScriptProcessorplugins on the given script, line by line in sequence.- Throws:
IOException
-
getPluginType
default Class<ScriptProcessor> getPluginType()
Description copied from interface:PTServiceGets the type of plugins managed by this service.- Specified by:
getPluginTypein interfacePTService<ScriptProcessor>
-
-