class AbstractExtRunner extends JSInitFiles
- Attributes
- protected
- Alphabetic
- By Inheritance
- AbstractExtRunner
- JSInitFiles
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractExtRunner(files: Seq[VirtualJSFile])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
console: JSConsole
- Attributes
- protected
-
final
def
customInitFiles(): Seq[VirtualJSFile]
Custom initialization scripts, defined by the environment.
Custom initialization scripts, defined by the environment.
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
files: Seq[VirtualJSFile]
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getJSFiles(): Seq[VirtualJSFile]
All the JS files that are passed to the VM.
All the JS files that are passed to the VM.
This method can overridden to provide custom behavior in subclasses.
The default value in
ExternalJSEnv
isinitFiles() ++ customInitFiles() ++ files
.- Attributes
- protected
-
def
getVMArgs(): Seq[String]
VM arguments excluding executable.
VM arguments excluding executable. Override to adapt.
The default value in
ExternalJSEnv
isargs
.- Attributes
- protected
-
def
getVMEnv(): Map[String, String]
VM environment.
VM environment. Override to adapt.
The default value in
ExternalJSEnv
isSystem.getenv().asScala.toMap ++ env
.- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initFiles(): Seq[VirtualJSFile]
JS files used to setup VM
JS files used to setup VM
- Attributes
- protected
- Definition Classes
- JSInitFiles
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logger: Logger
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
pipeToConsole(in: InputStream, console: JSConsole): Unit
pipe lines from input stream to JSConsole
pipe lines from input stream to JSConsole
- Attributes
- protected
-
final
def
pipeVMData(vmInst: Process): Unit
Pipe stdin and stdout from/to VM
Pipe stdin and stdout from/to VM
- Attributes
- protected
-
final
def
sendJS(files: Seq[VirtualJSFile], out: Writer): Unit
send a bunch of JS files to a writer
send a bunch of JS files to a writer
- Attributes
- protected
-
final
def
sendJS(files: Seq[VirtualJSFile], out: OutputStream): Unit
send a bunch of JS files to an output stream
send a bunch of JS files to an output stream
- Attributes
- protected
-
def
sendVMStdin(out: OutputStream): Unit
Sends required data to VM Stdin (can throw)
Sends required data to VM Stdin (can throw)
- Attributes
- protected
-
def
setupLoggerAndConsole(logger: Logger, console: JSConsole): Unit
- Attributes
- protected
-
def
startVM(): Process
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
waitForVM(vmInst: Process): Unit
Wait for the VM to terminate, verify exit code
Wait for the VM to terminate, verify exit code
- Attributes
- protected
- Exceptions thrown
ExternalJSEnv.NonZeroExitException
if VM returned a non-zero code
-
def
writeJSFile(file: VirtualJSFile, writer: Writer): Unit
write a single JS file to a writer using an include fct if appropriate
write a single JS file to a writer using an include fct if appropriate
- Attributes
- protected