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,JavaScriptRunner,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
Modifier and Type Method Description booleancanHandle(String identifier)Checks if this runner can handle the given identifier.protected voidprepareFileLocation(File scriptFile, 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, runScriptMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sikuli.script.support.IScriptRunner
getExtensions, getName, getType
-
Constructor Details
-
AbstractLocalFileScriptRunner
public AbstractLocalFileScriptRunner()
-
-
Method Details
-
prepareFileLocation
-
canHandle
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
-