public interface RunService extends HandlerService<Object,CodeRunner>, SciJavaService
CodeRunner
plugins.Modifier and Type | Method and Description |
---|---|
default Class<CodeRunner> |
getPluginType()
Gets the type of plugins managed by this service.
|
default Class<Object> |
getType()
Gets the type associated with the object.
|
default void |
run(Object code,
Map<String,Object> inputMap)
Executes the given code using the most appropriate handler, passing the
arguments in the specified map as inputs.
|
default void |
run(Object code,
Object... args)
Executes the given code using the most appropriate handler, passing the
specified arguments as inputs.
|
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
default void run(Object code, Object... args) throws InvocationTargetException
InvocationTargetException
default void run(Object code, Map<String,Object> inputMap) throws InvocationTargetException
InvocationTargetException
default Class<CodeRunner> getPluginType()
PTService
getPluginType
in interface PTService<CodeRunner>
Copyright © 2015–2022 SciJava. All rights reserved.