Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addToClasspath(String) - Method in class org.dellroad.javabox.execution.MemoryLoaderDelegate
- addToClassPath(List<String>, List<String>) - Static method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
-
Utility method to modify the given JShell command line flags to add/augment the
--class-path
flag(s) to (also) include the given classpath components.
B
- box - Variable in class org.dellroad.javabox.JavaBoxExecutionControl
- box() - Method in record class org.dellroad.javabox.Control.ContainerContext
-
Returns the value of the
box
record component. - box() - Method in class org.dellroad.javabox.ScriptResult
-
Get the associated
JavaBox
. - box() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get the associated
JavaBox
. - build() - Method in class org.dellroad.javabox.Config.Builder
-
Build the
Config
. - builder() - Static method in record class org.dellroad.javabox.Config
-
Create a new
Config.Builder
.
C
- check() - Static method in record class org.dellroad.javabox.control.TimeLimitControl
- checkClassEntry(ClassEntry) - Method in class org.dellroad.javabox.control.ClassReferenceControl
- checkClassEntry(ClassEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkConstantDynamicEntry(ConstantDynamicEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkDoubleEntry(DoubleEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkFieldRefEntry(FieldRefEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkFloatEntry(FloatEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkIntegerEntry(IntegerEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkInterfaceMethodRefEntry(InterfaceMethodRefEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkInvokeDynamicEntry(InvokeDynamicEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkLongEntry(LongEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkMethodHandleEntry(MethodHandleEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkMethodRefEntry(MethodRefEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkMethodTypeEntry(MethodTypeEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkModuleEntry(ModuleEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkNameAndTypeEntry(NameAndTypeEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkPackageEntry(PackageEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkPoolEntry(PoolEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
-
Validate a constant pool entry.
- checkStringEntry(StringEntry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- checkUtf8Entry(Utf8Entry) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- classesRedefined(ExecutionControl.ClassBytecodes[]) - Method in class org.dellroad.javabox.execution.MemoryLoaderDelegate
- ClassReferenceControl - Class in org.dellroad.javabox.control
-
A simple
ConstantPoolControl
that restricts which classes can be referenced byClassEntry
's. - ClassReferenceControl(Predicate<? super ClassEntry>) - Constructor for class org.dellroad.javabox.control.ClassReferenceControl
-
Constructor.
- close() - Method in class org.dellroad.javabox.JavaBox
-
Close this instance.
- compile(String) - Method in class org.dellroad.javabox.JavaBox
-
Compile the given script but do not execute it.
- COMPILE - Enum constant in enum class org.dellroad.javabox.JavaBox.ProcessMode
-
Perform initial validation and compile each snippet and load any generated classes.
- Config - Record Class in org.dellroad.javabox
-
Configuration object for
JavaBox
instances. - Config(JShell.Builder, ClassLoader, List<Control>) - Constructor for record class org.dellroad.javabox.Config
-
Creates an instance of a
Config
record class. - Config.Builder - Class in org.dellroad.javabox
-
Builder for
Config
instances. - ConstantPoolControl - Class in org.dellroad.javabox.control
-
A JavaBox
Control
that restricts the what's allowed to appear in the constant pool. - ConstantPoolControl() - Constructor for class org.dellroad.javabox.control.ConstantPoolControl
- containerContext() - Method in record class org.dellroad.javabox.Control.ExecutionContext
-
Returns the value of the
containerContext
record component. - ContainerContext(JavaBox, Control, Object) - Constructor for record class org.dellroad.javabox.Control.ContainerContext
-
Creates an instance of a
ContainerContext
record class. - context() - Method in record class org.dellroad.javabox.Control.ContainerContext
-
Returns the value of the
context
record component. - context() - Method in record class org.dellroad.javabox.Control.ExecutionContext
-
Returns the value of the
context
record component. - control() - Method in record class org.dellroad.javabox.Control.ContainerContext
-
Returns the value of the
control
record component. - Control - Interface in org.dellroad.javabox
-
Monitors, modifies, and/or restricts the execution of scripts running in a
JavaBox
. - Control.ContainerContext - Record Class in org.dellroad.javabox
- Control.ExecutionContext - Record Class in org.dellroad.javabox
-
The per-execution context associated with a
Control
. - controls() - Method in record class org.dellroad.javabox.Config
-
Returns the value of the
controls
record component. - ControlViolationException - Exception Class in org.dellroad.javabox
-
Thrown when a script does something that exceeds imposed limits or otherwise is not allowed by a configured
Control
. - ControlViolationException(String) - Constructor for exception class org.dellroad.javabox.ControlViolationException
- ControlViolationException(String, Throwable) - Constructor for exception class org.dellroad.javabox.ControlViolationException
- ControlViolationException(Throwable) - Constructor for exception class org.dellroad.javabox.ControlViolationException
- createLocalExecutionControl(MemoryLoaderDelegate) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
-
Build a new
LocalExecutionControl
using the given delegate. - createLocalExecutionControl(MemoryLoaderDelegate) - Method in class org.dellroad.javabox.JavaBoxExecutionControlProvider
- createMemoryClassLoader() - Method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
- createMemoryLoaderDelegate(MemoryClassLoader) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
D
- defaultParameters() - Method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
- delegateLoader() - Method in record class org.dellroad.javabox.Config
-
Returns the value of the
delegateLoader
record component. - diagnostics() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get diagnostics associated with the evaluation of the snippet.
E
- enterContext() - Method in class org.dellroad.javabox.execution.LocalContextExecutionControl
-
Enter a new thread-local context for snippet execution.
- enterContext() - Method in class org.dellroad.javabox.JavaBoxExecutionControl
- equals(Object) - Method in record class org.dellroad.javabox.Config
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.dellroad.javabox.Control.ContainerContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.dellroad.javabox.Control.ExecutionContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.dellroad.javabox.control.TimeLimitControl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.dellroad.javabox.execution.StringWrapper
-
Indicates whether some other object is "equal to" this one.
- exception() - Method in interface org.dellroad.javabox.SnippetOutcome.HasException
-
Get the exception thrown.
- execute(String) - Method in class org.dellroad.javabox.JavaBox
-
Execute the given script in this container.
- EXECUTE - Enum constant in enum class org.dellroad.javabox.JavaBox.ProcessMode
-
Perform initial validation of each snippet, load generated classes, and execute code as needed.
- ExecutionContext(Control.ContainerContext, Object) - Constructor for record class org.dellroad.javabox.Control.ExecutionContext
-
Creates an instance of a
ExecutionContext
record class. - executionContextFor(Class<? extends Control>) - Static method in class org.dellroad.javabox.JavaBox
-
Obtain the execution context associated with the specified
Control
class and the script execution occurring in the current thread.
F
- findClass(String) - Method in class org.dellroad.javabox.execution.MemoryLoaderDelegate
- finishExecution(Control.ExecutionContext, Object, Throwable) - Method in interface org.dellroad.javabox.Control
-
Notification that the execution of a script snippet has finished, either successfully or by throwing an exception.
- finishingExecution(Object, Throwable) - Method in class org.dellroad.javabox.JavaBox
-
Subclass hook invoked when finishing script execution from within the snippet thread.
- firstUnsuccessful() - Method in class org.dellroad.javabox.ScriptResult
-
Get the outcome of the first
Snippet
whose outcome was not an instance ofSnippetOutcome.Successful
.
G
- generate(ExecutionEnv, Map<String, String>) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
- getClassLoader() - Method in class org.dellroad.javabox.execution.MemoryLoaderDelegate
-
Get the
MemoryClassLoader
associated with this instance. - getConfig() - Method in class org.dellroad.javabox.JavaBox
-
Get the
Config
associated with this instance. - getCurrent() - Static method in class org.dellroad.javabox.JavaBox
-
Get the
JavaBox
instance associated with the current thread. - getExecutionFlag(List<String>) - Static method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
-
Get the execution provider name specified via the
--execution
flag, if any. - getJShell() - Method in class org.dellroad.javabox.JavaBox
-
Get the
JShell
instanced associated with this container. - getPoolEntry() - Method in exception class org.dellroad.javabox.control.IllegalPoolEntryException
- getTimeLimit() - Method in exception class org.dellroad.javabox.control.TimeLimitExceededException
- getTimeSpent() - Method in exception class org.dellroad.javabox.control.TimeLimitExceededException
- getVariable(String) - Method in class org.dellroad.javabox.JavaBox
-
Get the value of a variable in this container.
H
- hashCode() - Method in record class org.dellroad.javabox.Config
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.dellroad.javabox.Control.ContainerContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.dellroad.javabox.Control.ExecutionContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.dellroad.javabox.control.TimeLimitControl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.dellroad.javabox.execution.StringWrapper
-
Returns a hash code value for this object.
I
- IllegalPoolEntryException - Exception Class in org.dellroad.javabox.control
-
Exception thrown when an illegal entry is found in the constant pool.
- IllegalPoolEntryException(PoolEntry) - Constructor for exception class org.dellroad.javabox.control.IllegalPoolEntryException
- IllegalPoolEntryException(PoolEntry, String) - Constructor for exception class org.dellroad.javabox.control.IllegalPoolEntryException
- index() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get the index of this snippet as a member of the list of snippets contained in the the associated script.
- inferClassPath(ClassLoader) - Static method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
-
Infer the classpath from the
java.class.path
system property and the givenClassLoader
hierarchy. - initCause(Throwable) - Method in exception class org.dellroad.javabox.ControlViolationException
- initCause(Throwable) - Method in exception class org.dellroad.javabox.JavaBoxException
- initialize() - Method in class org.dellroad.javabox.JavaBox
-
Initialize this instance.
- initialize(JavaBox) - Method in interface org.dellroad.javabox.Control
-
Initialize this control for the given
JavaBox
and return any associated private context. - interrupt() - Method in class org.dellroad.javabox.JavaBox
-
Interrupt the current script execution, if any.
- invoke(Method) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControl
- invokeWithContext(Method) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControl
-
Execute the given snippet in context.
- invokeWithContext(Method) - Method in class org.dellroad.javabox.JavaBoxExecutionControl
- invokeWrapper() - Static method in class org.dellroad.javabox.execution.LocalContextExecutionControl
-
Invocation wrapper method.
- isClosed() - Method in class org.dellroad.javabox.JavaBox
-
Determine if this instance is closed.
- isExecuting() - Method in class org.dellroad.javabox.JavaBox
-
Determine if this instance is currently executing a script.
- isInitialized() - Method in class org.dellroad.javabox.JavaBox
-
Determine if this instance has been initialized.
- isSuccessful() - Method in class org.dellroad.javabox.ScriptResult
-
Determine whether the script exeuction was successful.
- isSuspended() - Method in class org.dellroad.javabox.JavaBox
-
Determine if this instance has a suspended script.
J
- JavaBox - Class in org.dellroad.javabox
-
A container for scripts written in the Java language.
- JavaBox(Config) - Constructor for class org.dellroad.javabox.JavaBox
-
Constructor.
- JavaBox.ProcessMode - Enum Class in org.dellroad.javabox
-
Specifies the snippet processing mode to use when invoking
process()
. - JavaBoxException - Exception Class in org.dellroad.javabox
-
Thrown when some unexpected error occurs during a
JavaBox
operation. - JavaBoxException(String) - Constructor for exception class org.dellroad.javabox.JavaBoxException
- JavaBoxException(String, Throwable) - Constructor for exception class org.dellroad.javabox.JavaBoxException
- JavaBoxException(Throwable) - Constructor for exception class org.dellroad.javabox.JavaBoxException
- JavaBoxExecutionControl - Class in org.dellroad.javabox
-
The
LocalExecutionControl
used byJavaBox
itself. - JavaBoxExecutionControl(LoaderDelegate) - Constructor for class org.dellroad.javabox.JavaBoxExecutionControl
-
Constructor.
- JavaBoxExecutionControlProvider - Class in org.dellroad.javabox
-
The
LocalContextExecutionControlProvider
used byJavaBox
. - JavaBoxExecutionControlProvider() - Constructor for class org.dellroad.javabox.JavaBoxExecutionControlProvider
- jshellBuilder() - Method in record class org.dellroad.javabox.Config
-
Returns the value of the
jshellBuilder
record component.
L
- lastAttempted() - Method in class org.dellroad.javabox.ScriptResult
-
Get the outcome of the last
Snippet
whose execution was attempted. - lastOutcome() - Method in class org.dellroad.javabox.ScriptResult
-
Get the outcome of the last
Snippet
. - leaveContext(Object, Throwable) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControl
-
Exit the thread-local context previously entered by
LocalContextExecutionControl.enterContext()
in the current thread. - leaveContext(Object, Throwable) - Method in class org.dellroad.javabox.JavaBoxExecutionControl
- load(ExecutionControl.ClassBytecodes[]) - Method in class org.dellroad.javabox.execution.MemoryLoaderDelegate
- load(ExecutionControl.ClassBytecodes[]) - Method in class org.dellroad.javabox.JavaBoxExecutionControl
- LocalContextExecutionControl - Class in org.dellroad.javabox.execution
-
A
LocalExecutionControl
that provides the ability to add thread-local context to the execution of each JShell snippet. - LocalContextExecutionControl(LoaderDelegate) - Constructor for class org.dellroad.javabox.execution.LocalContextExecutionControl
-
Constructor.
- LocalContextExecutionControlProvider - Class in org.dellroad.javabox.execution
-
Same as
LocalExecutionControlProvider
, but with additional support for handling certain class path and class loading issues. - LocalContextExecutionControlProvider() - Constructor for class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
M
- MemoryLoaderDelegate - Class in org.dellroad.javabox.execution
-
A JShell
LoaderDelegate
that uses aMemoryClassLoader
. - MemoryLoaderDelegate() - Constructor for class org.dellroad.javabox.execution.MemoryLoaderDelegate
-
Default constructor.
- MemoryLoaderDelegate(MemoryClassLoader) - Constructor for class org.dellroad.javabox.execution.MemoryLoaderDelegate
-
Primary constructor.
- modifyBytecode(ClassDesc, byte[]) - Method in class org.dellroad.javabox.control.ConstantPoolControl
- modifyBytecode(ClassDesc, byte[]) - Method in interface org.dellroad.javabox.Control
-
Apply this control to the given class which was generated from a script.
- modifyBytecode(ClassDesc, byte[]) - Method in record class org.dellroad.javabox.control.TimeLimitControl
-
Adds time limit checks to the bytecode.
- modifyJShellFlags(ClassLoader, List<String>) - Static method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
-
Modify a list of JShell tool command line flags to enable use of this class.
N
- name() - Method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
- name() - Method in class org.dellroad.javabox.JavaBoxExecutionControlProvider
- NAME - Static variable in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
- NAME - Static variable in class org.dellroad.javabox.JavaBoxExecutionControlProvider
O
- offset() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get the character offset within the original script source of the associated snippet source.
- org.dellroad.javabox - package org.dellroad.javabox
- org.dellroad.javabox.control - package org.dellroad.javabox.control
-
JavaBox controls.
- org.dellroad.javabox.execution - package org.dellroad.javabox.execution
-
Classes used by JavaBox for local execution in JShell.
P
- parameter() - Method in interface org.dellroad.javabox.SnippetOutcome.Suspended
-
Get the parameter that was passed to
JavaBox.suspend()
. - process(String, JavaBox.ProcessMode) - Method in class org.dellroad.javabox.JavaBox
-
Process the given script in this container.
R
- references() - Method in interface org.dellroad.javabox.SnippetOutcome.UnresolvedReferences
-
Get the list of unresolved references.
- resume(Object) - Method in class org.dellroad.javabox.JavaBox
-
Resume this instance's suspended script.
- returnValue() - Method in interface org.dellroad.javabox.SnippetOutcome.SuccessfulWithValue
-
Get the value returned from the snippet's execution.
S
- ScriptResult - Class in org.dellroad.javabox
-
The result from executing a script in a
JavaBox
. - scriptSource() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get the source code of the entire original script that contained the snippet.
- setExecutionFlag(List<String>, String) - Static method in class org.dellroad.javabox.execution.LocalContextExecutionControlProvider
-
Modify a list of JShell tool command line flags to force the use of the named execution provider, overriding any previous.
- setVariable(String, Object) - Method in class org.dellroad.javabox.JavaBox
-
Declare and assign a variable in this container.
- setVariable(String, String, Object) - Method in class org.dellroad.javabox.JavaBox
-
Declare and assign a variable in this container.
- shutdown(Control.ContainerContext) - Method in interface org.dellroad.javabox.Control
-
Shutdown this control for the given
JavaBox
. - snippet() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get the associated snippet.
- SnippetOutcome - Interface in org.dellroad.javabox
- SnippetOutcome.CompilerError - Interface in org.dellroad.javabox
-
Indicates failure due to one or more compiler errors.
- SnippetOutcome.ControlViolation - Interface in org.dellroad.javabox
-
Indicates that the bytecode generated by the snippet could not be loaded because it violated some
Control
. - SnippetOutcome.ExceptionThrown - Interface in org.dellroad.javabox
-
Indicates an exception was thrown during the execution of the snippet.
- SnippetOutcome.HaltsScript - Interface in org.dellroad.javabox
-
Implemented by
SnippetOutcome
s that will cause a script to stop executing. - SnippetOutcome.HasException<T> - Interface in org.dellroad.javabox
-
Implemented by
SnippetOutcome
s for which there is an associated exception. - SnippetOutcome.Interrupted - Interface in org.dellroad.javabox
-
Indicates that the snippet's execution was interrupted.
- SnippetOutcome.Overwritten - Interface in org.dellroad.javabox
-
Indicates that a declaration was successfully compiled, but the declaration was overwritten by a later snippet in the same source.
- SnippetOutcome.Skipped - Interface in org.dellroad.javabox
-
Indicates that the snippet's was not executed (yet).
- SnippetOutcome.Successful - Interface in org.dellroad.javabox
-
Indicates a successful outcome.
- SnippetOutcome.SuccessfulNoValue - Interface in org.dellroad.javabox
-
Indicates a successful outcome for which no value was returned, e.g., the invocation of a void method, a declaration for which no unresolved references remain, etc.
- SnippetOutcome.SuccessfulWithValue - Interface in org.dellroad.javabox
-
Indicates a successful outcome for which some value was returned, e.g., an evaluated expression or the invocation of a non-void method.
- SnippetOutcome.Suspended - Interface in org.dellroad.javabox
-
Indicates that the snippet invoked
JavaBox.suspend()
. - SnippetOutcome.UnresolvedReferences - Interface in org.dellroad.javabox
-
Indicates that a declaration was successful but it contained unresolved references and those references were not resolved by any subsequent snippets in the same source.
- snippetOutcomes() - Method in class org.dellroad.javabox.ScriptResult
-
Get the outcomes of the individual JShell
Snippet
s created from the script. - snippetSource() - Method in interface org.dellroad.javabox.SnippetOutcome
-
Get the source code of the associated snippet.
- source() - Method in class org.dellroad.javabox.ScriptResult
-
Get the original script source.
- startExecution(Control.ContainerContext) - Method in interface org.dellroad.javabox.Control
-
Notification that the execution of a script snippet has started.
- startExecution(Control.ContainerContext) - Method in record class org.dellroad.javabox.control.TimeLimitControl
- startingExecution() - Method in class org.dellroad.javabox.JavaBox
-
Subclass hook invoked when starting script execution from within the snippet thread.
- string() - Method in record class org.dellroad.javabox.execution.StringWrapper
-
Returns the value of the
string
record component. - StringWrapper - Record Class in org.dellroad.javabox.execution
-
This is a simple wrapper around a
String
in whichStringWrapper.toString()
returns the wrappedString
. - StringWrapper(String) - Constructor for record class org.dellroad.javabox.execution.StringWrapper
-
Constructor.
- suspend(Object) - Static method in class org.dellroad.javabox.JavaBox
-
Suspend the script that is currently executing in the current thread.
T
- test - Variable in class org.dellroad.javabox.control.ClassReferenceControl
- timeLimit() - Method in record class org.dellroad.javabox.control.TimeLimitControl
-
Returns the value of the
timeLimit
record component. - TimeLimitControl - Record Class in org.dellroad.javabox.control
-
A JavaBox
Control
that limits the amount of time that a script snippet may execute. - TimeLimitControl(Duration) - Constructor for record class org.dellroad.javabox.control.TimeLimitControl
-
Constructor.
- TimeLimitExceededException - Exception Class in org.dellroad.javabox.control
-
Exception thrown when a script exceeds the time limit imposed by a
TimeLimitControl
. - TimeLimitExceededException(Duration, Duration) - Constructor for exception class org.dellroad.javabox.control.TimeLimitExceededException
- TimeLimitExceededException(Duration, Duration, String) - Constructor for exception class org.dellroad.javabox.control.TimeLimitExceededException
- toString() - Method in record class org.dellroad.javabox.Config
-
Returns a string representation of this record class.
- toString() - Method in record class org.dellroad.javabox.Control.ContainerContext
-
Returns a string representation of this record class.
- toString() - Method in record class org.dellroad.javabox.Control.ExecutionContext
-
Returns a string representation of this record class.
- toString() - Method in record class org.dellroad.javabox.control.TimeLimitControl
-
Returns a string representation of this record class.
- toString() - Method in record class org.dellroad.javabox.execution.StringWrapper
-
Returns the wrapped string.
V
- validate(String) - Method in class org.dellroad.javabox.JavaBox
-
Validate the given script is parseable.
- VALIDATE - Enum constant in enum class org.dellroad.javabox.JavaBox.ProcessMode
-
Only perform initial validation of each snippet.
- valueOf(String) - Static method in enum class org.dellroad.javabox.JavaBox.ProcessMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.dellroad.javabox.JavaBox.ProcessMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueStringWithContext(Object) - Method in class org.dellroad.javabox.execution.LocalContextExecutionControl
-
Decode the snippet result into a
String
for display in the JShell console. - valueStringWithContext(Object) - Method in class org.dellroad.javabox.JavaBoxExecutionControl
- variableValue() - Static method in class org.dellroad.javabox.JavaBox
-
Obtain the value of a variable being set by
setVariable()
.
W
- withControl(Control) - Method in class org.dellroad.javabox.Config.Builder
- withControls(List<Control>) - Method in class org.dellroad.javabox.Config.Builder
-
Configure the list of
Control
s. - withDelegateLoader(ClassLoader) - Method in class org.dellroad.javabox.Config.Builder
-
Configure the
ClassLoader
to be used as the delegate loader of the loader that loads the classes generated for applied scripts. - withJShellBuilder(JShell.Builder) - Method in class org.dellroad.javabox.Config.Builder
-
Provide a custom
JShell.Builder
to be used to create theJShell
instance. - withJShellMods(Consumer<? super JShell.Builder>) - Method in class org.dellroad.javabox.Config.Builder
-
Apply a modification to the
JShell.Builder
that will be used to create theJShell
instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form