Package org.sikuli.script.runners
Class AbstractLocalFileScriptRunner
- java.lang.Object
-
- org.sikuli.script.runners.AbstractScriptRunner
-
- org.sikuli.script.runners.AbstractLocalFileScriptRunner
-
- All Implemented Interfaces:
IScriptRunner
- Direct Known Subclasses:
AppleScriptRunner,JRubyRunner,JythonRunner,PowershellRunner,PythonRunner,TextRunner,ZipRunner
public abstract class AbstractLocalFileScriptRunner extends AbstractScriptRunner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sikuli.script.support.IScriptRunner
IScriptRunner.EffectiveRunner, IScriptRunner.Options
-
-
Constructor Summary
Constructors Constructor Description AbstractLocalFileScriptRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadjustBundlePath(String script, IScriptRunner.Options options)booleancanHandle(String identifier)Checks if this runner can handle the given identifier.protected voidresetBundlePath(String script, IScriptRunner.Options options)-
Methods inherited from class org.sikuli.script.runners.AbstractScriptRunner
abort, canHandleFileEnding, close, doAbort, doClose, doEvalScript, doInit, doRedirect, doRunLines, doRunScript, evalScript, execAfter, execBefore, getDefaultExtension, getEffectiveRunner, getFileEndings, hasExtension, init, isAborted, isAbortSupported, isReady, isRunning, isSupported, log, redirect, reset, runLines, runScript
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sikuli.script.support.IScriptRunner
getExtensions, getName, getType
-
-
-
-
Method Detail
-
adjustBundlePath
protected void adjustBundlePath(String script, IScriptRunner.Options options)
- Overrides:
adjustBundlePathin classAbstractScriptRunner
-
resetBundlePath
protected void resetBundlePath(String script, IScriptRunner.Options options)
- Overrides:
resetBundlePathin classAbstractScriptRunner
-
canHandle
public boolean canHandle(String identifier)
Description copied from interface:IScriptRunnerChecks if this runner can handle the given identifier.- Specified by:
canHandlein interfaceIScriptRunner- Overrides:
canHandlein classAbstractScriptRunner- Parameters:
identifier- Can be Runner name, type or one of its supported extensions Can also be script code prefixed with the runnerName (e.g. JavaScript*console.log("hello"))- Returns:
- true if the runner can handle the identifier, false otherwise
-
-