- enableDebugSupport(int, boolean) - Method in class com.eclipsesource.v8.V8
-
Deprecated.
NOTE: This is not API and likely to change
- enableDebugSupport(int) - Method in class com.eclipsesource.v8.V8
-
Deprecated.
NOTE: This is not API and likely to change
- enableDebugSupport(long, int, boolean) - Method in class com.eclipsesource.v8.V8
-
- entrySet() - Method in class com.eclipsesource.v8.utils.V8Map
-
- equals(long, long, long) - Method in class com.eclipsesource.v8.V8
-
- equals(Object) - Method in class com.eclipsesource.v8.V8Value
-
- executeArrayFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a V8Array.
- executeArrayScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a V8Array.
- executeArrayScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a V8Array.
- executeBooleanFunction(long, long, String, long) - Method in class com.eclipsesource.v8.V8
-
- executeBooleanFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a boolean.
- executeBooleanScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a boolean.
- executeBooleanScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a boolean.
- executeBooleanScript(long, String, String, int) - Method in class com.eclipsesource.v8.V8
-
- executeDoubleFunction(long, long, String, long) - Method in class com.eclipsesource.v8.V8
-
- executeDoubleFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a double.
- executeDoubleScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a double.
- executeDoubleScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a double.
- executeDoubleScript(long, String, String, int) - Method in class com.eclipsesource.v8.V8
-
- executeFunction(long, int, long, String, long) - Method in class com.eclipsesource.v8.V8
-
- executeFunction(long, long, long, long) - Method in class com.eclipsesource.v8.V8
-
- executeFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a Java Object.
- executeIntegerFunction(long, long, String, long) - Method in class com.eclipsesource.v8.V8
-
- executeIntegerFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a integer.
- executeIntegerScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as an integer.
- executeIntegerScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as an integer.
- executeIntegerScript(long, String, String, int) - Method in class com.eclipsesource.v8.V8
-
- executeObjectFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a V8Object.
- executeObjectScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a V8Object.
- executeObjectScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a V8Object.
- executeScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a Java Object.
- executeScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a Java Object.
- executeScript(long, int, String, String, int) - Method in class com.eclipsesource.v8.V8
-
- executeStringFunction(long, long, String, long) - Method in class com.eclipsesource.v8.V8
-
- executeStringFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invoke a JavaScript function and return the result as a String.
- executeStringScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a String.
- executeStringScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime and returns the result as a String.
- executeStringScript(long, String, String, int) - Method in class com.eclipsesource.v8.V8
-
- executeVoidFunction(long, long, String, long) - Method in class com.eclipsesource.v8.V8
-
- executeVoidFunction(String, V8Array) - Method in class com.eclipsesource.v8.V8Object
-
Invokes a JavaScript function which does not return a result.
- executeVoidScript(String) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime.
- executeVoidScript(String, String, int) - Method in class com.eclipsesource.v8.V8
-
Executes a JS Script on this runtime.
- executeVoidScript(long, String, String, int) - Method in class com.eclipsesource.v8.V8
-
- get(Object) - Method in class com.eclipsesource.v8.utils.V8Map
-
- get(long, int, long, String) - Method in class com.eclipsesource.v8.V8
-
- get(int) - Method in class com.eclipsesource.v8.V8Array
-
Gets the value at a given index as a Java Object.
- get(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the value associated with this key.
- getActiveRuntimes() - Static method in class com.eclipsesource.v8.V8
-
Returns the number of active runtimes.
- getArray(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the V8Array value associated at this index.
- getArray(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the V8Array value associated with this key.
- getArrayType(long, long) - Method in class com.eclipsesource.v8.V8
-
- getBoolean(long, long, String) - Method in class com.eclipsesource.v8.V8
-
- getBoolean(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the boolean value associated at this index.
- getBoolean(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the boolean value associated with this key.
- getBooleans(int, int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the booleans contained in a subset of a V8Array.
- getBooleans(int, int, boolean[]) - Method in class com.eclipsesource.v8.V8Array
-
Gets the booleans contained in a subset of a V8Array.
- getBuildID() - Method in class com.eclipsesource.v8.V8
-
Returns the unique build ID of the native library.
- getDouble(long, long, String) - Method in class com.eclipsesource.v8.V8
-
- getDouble(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the double value associated at this index.
- getDouble(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the double value associated with this key.
- getDoubles(int, int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the doubles contained in a subset of a V8Array.
- getDoubles(int, int, double[]) - Method in class com.eclipsesource.v8.V8Array
-
Gets the doubles contained in a subset of a V8Array.
- getEndColumn() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the JavaScript column where the error ends.
- getException() - Method in class com.eclipsesource.v8.utils.V8Executor
-
Gets the exception that was thrown during the JavaScript execution.
- getExecutor(V8Object) - Method in class com.eclipsesource.v8.V8
-
Returns the executor associated with the given key.
- getFileName() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the file name contains the script that was currently executing.
- getHandle() - Method in class com.eclipsesource.v8.V8Value
-
- getInteger(long, long, String) - Method in class com.eclipsesource.v8.V8
-
- getInteger(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the integer value associated at this index.
- getInteger(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the integer value associated with this key.
- getIntegers(int, int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the integers contained in a subset of a V8Array.
- getIntegers(int, int, int[]) - Method in class com.eclipsesource.v8.V8Array
-
Gets the integers contained in a subset of a V8Array.
- getJSMessage() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the message set by the JavaScript exception.
- getJSStackTrace() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the JavaScript Stack as a String.
- getKeys(long, long) - Method in class com.eclipsesource.v8.V8
-
- getKeys() - Method in class com.eclipsesource.v8.V8Object
-
Returns all the keys associated with this JavaScript Object.
- getLineNumber() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the line number that the failure occurred on.
- getLocker() - Method in class com.eclipsesource.v8.V8
-
Returns the locker associated with this runtime.
- getMessage() - Method in exception com.eclipsesource.v8.V8ScriptException
-
- getObject(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the V8Object value associated at this index.
- getObject(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the V8Object value associated with this key.
- getResult() - Method in class com.eclipsesource.v8.utils.V8Executor
-
Gets the result of the JavaScript that was executed
on this executor.
- getRuntime() - Method in class com.eclipsesource.v8.V8Value
-
Gets the runtime this Value was created on.
- getRutime() - Method in class com.eclipsesource.v8.V8Value
-
Deprecated.
- getSourceLine() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the JavaScript line of source that caused the error.
- getStartColumn() - Method in exception com.eclipsesource.v8.V8ScriptException
-
Get the JavaScript column where the error begins.
- getString(long, long, String) - Method in class com.eclipsesource.v8.V8
-
- getString(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the String value associated at this index.
- getString(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the String value associated with this key.
- getStrings(int, int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the Strings contained in a subset of a V8Array.
- getStrings(int, int, String[]) - Method in class com.eclipsesource.v8.V8Array
-
Gets the Strings contained in a subset of a V8Array.
- getType(long, long, String) - Method in class com.eclipsesource.v8.V8
-
- getType(long, long, int) - Method in class com.eclipsesource.v8.V8
-
- getType(long, long, int, int) - Method in class com.eclipsesource.v8.V8
-
- getType(int) - Method in class com.eclipsesource.v8.V8Array
-
Returns the type of element at this given index.
- getType() - Method in class com.eclipsesource.v8.V8Array
-
Gets the type of the array.
- getType(int, int) - Method in class com.eclipsesource.v8.V8Array
-
Gets the type of a subset of the array.
- getType(String) - Method in class com.eclipsesource.v8.V8Object
-
Returns the type of the value associated with this Key, or
UNDEFINED if the key does not exist.
- getTypedArray(V8Array, int, Object) - Static method in class com.eclipsesource.v8.utils.V8ObjectUtils
-
Populates a Java array from a V8Array.
- getTypedArray(V8Array, int) - Static method in class com.eclipsesource.v8.utils.V8ObjectUtils
-
Creates a Java array from a V8Array.
- getUndefined() - Static method in class com.eclipsesource.v8.V8
-
Returns an UNDEFINED constant.
- getV8Result(V8, Object) - Static method in class com.eclipsesource.v8.utils.V8ObjectUtils
-
Returns an object usable with a V8 Runtime which represents
the parameter 'value'.
- getV8RuntimePtr() - Method in class com.eclipsesource.v8.V8
-
- getValue(V8Array, int) - Static method in class com.eclipsesource.v8.utils.V8ObjectUtils
-
Gets a Java Object representing the value at the given index in the V8Array.
- getValue(V8Object, String) - Static method in class com.eclipsesource.v8.utils.V8ObjectUtils
-
Gets a Java Object representing the value with the given key in the V8Object.
- registerDebugHandler(Runnable) - Static method in class com.eclipsesource.v8.V8
-
Deprecated.
- registerJavaMethod(long, long, String, int, boolean) - Method in class com.eclipsesource.v8.V8
-
- registerJavaMethod(JavaCallback, String) - Method in class com.eclipsesource.v8.V8Object
-
Register a Java method as a JavaScript function.
- registerJavaMethod(JavaVoidCallback, String) - Method in class com.eclipsesource.v8.V8Object
-
Register a void Java method as a JavaScript function.
- registerJavaMethod(Object, String, String, Class<?>[]) - Method in class com.eclipsesource.v8.V8Object
-
Register a Java method reflectively given it's name a signature.
- registerJavaMethod(Object, String, String, Class<?>[], boolean) - Method in class com.eclipsesource.v8.V8Object
-
Register a Java method reflectively given it's name a signature.
- registerResource(Releasable) - Method in class com.eclipsesource.v8.V8
-
Registers a resource with this runtime.
- registerV8Executor(V8Object, V8Executor) - Method in class com.eclipsesource.v8.V8
-
Registers an executor with this runtime.
- Releasable - Interface in com.eclipsesource.v8
-
An interface used to denote all V8 Classes which can be released.
- release() - Method in interface com.eclipsesource.v8.Releasable
-
Release the underlying resources.
- release() - Method in class com.eclipsesource.v8.utils.V8Map
-
Releases all the resources associated with this map.
- release() - Method in class com.eclipsesource.v8.V8
-
- release(boolean) - Method in class com.eclipsesource.v8.V8
-
Release native resources associated with this runtime.
- release(long, long) - Method in class com.eclipsesource.v8.V8
-
- release() - Method in class com.eclipsesource.v8.V8Locker
-
Release the lock if it's currently held by the calling thread.
- release() - Method in class com.eclipsesource.v8.V8Value
-
Releases the native resources associated with this V8Value.
- released - Variable in class com.eclipsesource.v8.V8Value
-
- remove(Object) - Method in class com.eclipsesource.v8.utils.V8Map
-
- removeExecutor(V8Object) - Method in class com.eclipsesource.v8.V8
-
Removes the executor from this runtime.
- run() - Method in class com.eclipsesource.v8.utils.V8Executor
-
- run(V8) - Method in interface com.eclipsesource.v8.utils.V8Runnable
-
Execute the code on the provided runtime.
- run() - Method in class com.eclipsesource.v8.utils.V8Thread
-
- V8 - Class in com.eclipsesource.v8
-
An isolated V8Runtime.
- V8() - Constructor for class com.eclipsesource.v8.V8
-
- V8(String) - Constructor for class com.eclipsesource.v8.V8
-
- v8 - Variable in class com.eclipsesource.v8.V8Value
-
- V8_ARRAY - Static variable in class com.eclipsesource.v8.V8Value
-
- V8_FUNCTION - Static variable in class com.eclipsesource.v8.V8Value
-
- V8_OBJECT - Static variable in class com.eclipsesource.v8.V8Value
-
- V8Array - Class in com.eclipsesource.v8
-
A V8Value that represents a JavaScript array.
- V8Array() - Constructor for class com.eclipsesource.v8.V8Array
-
- V8Array(V8) - Constructor for class com.eclipsesource.v8.V8Array
-
Creates a new V8Array and associates it with the given runtime.
- V8Executor - Class in com.eclipsesource.v8.utils
-
Executes a JS Script on a new V8 runtime in its own thread, and once finished,
will optionally wait on a message queue.
- V8Executor(String, boolean, String) - Constructor for class com.eclipsesource.v8.utils.V8Executor
-
Create a new executor and execute the given script on it.
- V8Executor(String) - Constructor for class com.eclipsesource.v8.utils.V8Executor
-
Create a new executor and execute the given script on it.
- V8Function - Class in com.eclipsesource.v8
-
A V8Value that represents a JavaScript function.
- V8Function(V8) - Constructor for class com.eclipsesource.v8.V8Function
-
- V8Locker - Class in com.eclipsesource.v8
-
Represents a lock for a V8Runtime that can be moved between
threads.
- V8Map<V> - Class in com.eclipsesource.v8.utils
-
A Map that maps V8Values to arbitrary Java Objects.
- V8Map() - Constructor for class com.eclipsesource.v8.utils.V8Map
-
Creates a V8Map.
- V8Object - Class in com.eclipsesource.v8
-
The concrete class for all V8 Objects.
- V8Object(V8) - Constructor for class com.eclipsesource.v8.V8Object
-
Create a new V8Object and associate it with a runtime.
- V8Object() - Constructor for class com.eclipsesource.v8.V8Object
-
- V8ObjectUtils - Class in com.eclipsesource.v8.utils
-
A set of static helper methods to convert V8Objects / V8Arrays to
java.util Maps and Lists and back again.
- V8ResultUndefined - Exception in com.eclipsesource.v8
-
An exception that's used to indicate that method that should have returned a
primitive, returned an Undefined instead.
- V8Runnable - Interface in com.eclipsesource.v8.utils
-
Classes can implement this interface to execute arbitrary code on
isolated V8 runtime on its own thread.
- V8RuntimeException - Exception in com.eclipsesource.v8
-
A top-level exception used to indicate that a script failed.
- V8ScriptCompilationException - Exception in com.eclipsesource.v8
-
An exception used to indicate that a script failed to compile.
- V8ScriptException - Exception in com.eclipsesource.v8
-
An exception that indicates that the execution of a script failed.
- V8ScriptExecutionException - Exception in com.eclipsesource.v8
-
An exception used to indicate that a script failed to execute.
- V8Thread - Class in com.eclipsesource.v8.utils
-
A Thread with its own V8 runtime.
- V8Thread(V8Runnable) - Constructor for class com.eclipsesource.v8.utils.V8Thread
-
Create as new Thread with its own V8Runtime.
- V8Value - Class in com.eclipsesource.v8
-
A base class for all V8 resources.
- V8Value() - Constructor for class com.eclipsesource.v8.V8Value
-
- V8Value(V8) - Constructor for class com.eclipsesource.v8.V8Value
-
- values() - Method in class com.eclipsesource.v8.utils.V8Map
-