public class ScriptCodeRunner extends AbstractCodeRunner
| Constructor and Description | 
|---|
| ScriptCodeRunner() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | run(Object code,
   Map<String,Object> inputMap)Executes the code identified by the given object, passing the arguments in
 the specified map as inputs. | 
| void | run(Object code,
   Object... args)Executes the code identified by the given object, passing the
 specified arguments as inputs. | 
| boolean | supports(Object code)Gets whether this object is compatible with the given data object. | 
waitForgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypegetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic void run(Object code, Object... args) throws InvocationTargetException
CodeRunnerInvocationTargetExceptionpublic void run(Object code, Map<String,Object> inputMap) throws InvocationTargetException
CodeRunnerInvocationTargetExceptionpublic boolean supports(Object code)
Typed
 By default, this method will return true iff the data is assignable
 to the associated type given by Typed.getType(). But individual
 implementations may have other requirements beyond class assignability.
 
Copyright © 2009–2022 SciJava. All rights reserved.