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, supportscreate, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault void run(Object code, Object... args) throws InvocationTargetException
InvocationTargetExceptiondefault void run(Object code, Map<String,Object> inputMap) throws InvocationTargetException
InvocationTargetExceptiondefault Class<CodeRunner> getPluginType()
PTServicegetPluginType in interface PTService<CodeRunner>Copyright © 2015–2022 SciJava. All rights reserved.