public interface IV8Executable extends IV8Convertible
Modifier and Type | Method and Description |
---|---|
default <T extends V8Value> |
execute()
Execute and return V8 value.
|
<T extends V8Value> |
execute(boolean resultRequired)
Execute and return V8 value if required.
|
default java.math.BigInteger |
executeBigInteger()
Execute and return big integer.
|
default java.lang.Boolean |
executeBoolean()
Execute and return boolean.
|
default java.lang.Double |
executeDouble()
Execute and return double.
|
default java.lang.Integer |
executeInteger()
Execute and return integer.
|
default java.lang.Long |
executeLong()
Execute and return long.
|
default <T> T |
executeObject()
Execute and return a Java object.
|
default java.lang.String |
executeString()
Execute and return string.
|
default void |
executeVoid()
Execute without a return value.
|
default java.time.ZonedDateTime |
executeZonedDateTime()
Execute and return zoned date time.
|
toObject, toObject, toV8Value
@CheckReturnValue default <T extends V8Value> T execute() throws JavetException
T
- the type parameterJavetException
- the javet exception@CheckReturnValue <T extends V8Value> T execute(boolean resultRequired) throws JavetException
T
- the type parameterresultRequired
- the result requiredJavetException
- the javet exceptiondefault java.math.BigInteger executeBigInteger() throws JavetException
JavetException
- the javet exceptiondefault java.lang.Boolean executeBoolean() throws JavetException
JavetException
- the javet exceptiondefault java.lang.Double executeDouble() throws JavetException
JavetException
- the javet exceptiondefault java.lang.Integer executeInteger() throws JavetException
JavetException
- the javet exceptiondefault java.lang.Long executeLong() throws JavetException
JavetException
- the javet exceptiondefault <T> T executeObject() throws JavetException
T
- the type parameterJavetException
- the javet exceptiondefault java.lang.String executeString() throws JavetException
JavetException
- the javet exceptiondefault void executeVoid() throws JavetException
JavetException
- the javet exceptiondefault java.time.ZonedDateTime executeZonedDateTime() throws JavetException
JavetException
- the javet exception