Machine-readable versions of this page. Markdown: https://graalvm.elide.help/25.6.0-elide.4/api/polyglot/index-all.md . Index of every page (llms.txt): https://graalvm.elide.help/25.6.0-elide.4/api/polyglot/llms.txt . The whole reference in one Markdown file: https://graalvm.elide.help/25.6.0-elide.4/api/polyglot/llms-full.txt . Declaration contracts: https://graalvm.elide.help/25.6.0-elide.4/api/polyglot/contracts.ndjson . The API model as JSON (apidocs/1): https://graalvm.elide.help/25.6.0-elide.4/api/polyglot/api.json .
acquiredBy()method in FileLock Returns the channel through which this lock was acquired.
ALLfield in HostAccess Predefined host access policy that allows full unrestricted access to public methods or fields of public host classes.
ALLfield in IOAccess Provides guest language full access to host IO.
ALLfield in PolyglotAccess Provides guest languages full access to other languages using polyglot evaluation and binding builtins.
allowAccess(Executable)method in HostAccess.Builder Allows access to a given constructor or method.
allowAccess(Field)method in HostAccess.Builder Allows access to a given field.
allowAccessAnnotatedBy(Class)method in HostAccess.Builder Allows access to public constructors, methods or fields of public classes that were annotated by the given annotation class.
allowAccessInheritance(boolean)method in HostAccess.Builder Allows the guest application to inherit access to allowed methods, i.e.
allowHostAccess(boolean)method in Context.Builderdeprecated Allows guest languages to access the host language by loading new classes.
allowHostAccess(HostAccess)method in Context.Builder Configures which public constructors, methods or fields of public classes are accessible by guest applications.
allowHostClassLoading(boolean)method in Context.Builder If host class loading is enabled, then the guest language is allowed to load new host classes via jar or class files.
allowHostClassLookup(Predicate)method in Context.Builder Sets a filter that specifies the Java host classes that can be looked up by the guest application.
allowHostFileAccess(boolean)method in IOAccess.Builder If true, it allows the guest language unrestricted access to files on the host system.
allowHostSocketAccess(boolean)method in IOAccess.Builder If true, it allows the guest language unrestricted access to host system sockets.
allowImplementations(Class)method in HostAccess.Builder Allow implementations of this type by the guest language.
allowInnerContextOptions(boolean)method in Context.Builder Allows this context to spawn inner contexts that may change option values set for the outer context.
allowInternalResourceAccess(FileSystem)method in FileSystemdeprecated Decorates the given fileSystem by an implementation that forwards access to the internal resources, including language homes, to the default file system.
allowInternalResources(FileSystem)method in FileSystem Decorates the given fileSystem by an implementation that forwards access to the internal resources, including language homes, to the default file system.
allowIO(boolean)method in Context.Builderdeprecated If true, allows guest language to perform unrestricted IO operations on host system.
allowIO(IOAccess)method in Context.Builder Configures guest language access to host IO.
allowLanguageHomeAccess(FileSystem)method in FileSystemdeprecated Decorates the given fileSystem by an implementation that forwards access to files in the language home to the default file system.
allowPublicAccess(boolean)method in HostAccess.Builder Allows unrestricted access to all public constructors, methods or fields of public classes.
allowPublicAccess(Predicate)method in HostAccess.Builder Allows access to public constructors, methods or fields of public classes for which the given predicate returns true.
asTime()method in ProxyInstant Returns the time information.
asTime()method in ProxyTime Returns the time information.
asTime()method in Value Returns this value as time if this object represents a time.
asTimeZone()method in ProxyInstant Returns the timezone information.
asTimeZone()method in ProxyTimeZone Returns the timezone information.
asTimeZone()method in Value Returns this value as timestamp if this object represents a timezone.
asValue(Object)method in Context Converts a host value to a polyglot value representation.
asValue(Object)method in Value Converts a Java host value to a polyglot value.
attach(Engine)method in ExecutionListener.Builder Creates a new execution listener using the current builder configuration and attaches it to an engine.
B
build()method in Context.Builder Creates a new context instance from the configuration provided in the builder.
build()method in Engine.Builder Creates a new engine instance from the configuration provided in the builder.
build()method in HostAccess.Builder Creates an instance of the custom host access configuration.
build()method in IOAccess.Builder Creates an instance of the custom IO access configuration.
build()method in OptionDescriptor.Builder Builds and returns a new option descriptor.
build()method in PolyglotAccess.Builder Creates an instance of the custom polyglot access configuration.
build()method in ResourceLimits.Builder Builds the limit configuration object.
build()method in Source.Builder Uses configuration of this builder to create new Source object.
CBuilderclass in org.graalvm.options Represents an option descriptor builder.
CBuilderclass in org.graalvm.polyglot Builder class to construct Context instances.
constant(boolean)method in OptionDescriptor.Builder Marks this option as constant.
CConstantOptionKeyclass in org.graalvm.options Represents an OptionKey whose value is fixed before the polyglot runtime is initialized and cannot be changed afterwards.
ConstantOptionKey(T)constructor in ConstantOptionKey Constructs a new constant option key with the given default value.
ConstantOptionKey(T, OptionType)constructor in ConstantOptionKey Constructs a new constant option key with an explicit option type and default value.
CONSTRAINEDenum constant in SandboxPolicy Policy intended for trusted, but potentially buggy applications.
CONSTRAINEDfield in HostAccess Predefined host access policy used by Context with a SandboxPolicy.CONSTRAINED sandbox policy when the host access policy is not explicitly specified by the embedder.
copyResources(Path, String...)method in Engine Unpacks the language or instrument internal resources specified by the components into the targetFolder directory.
create()method in Engine Creates a new engine instance with default configuration.
create(byte[])method in ByteSequence Creates a ByteSequence from an existing byte[].
create(int...)method in Version Constructs a new GraalVM version from a list of version numbers.
denyBindingsAccess(String)method in PolyglotAccess.Builder Denies access to polyglot bindings for a language.
denyEval(String, String)method in PolyglotAccess.Builder Denies evaluation of code by one language of another.
denyEvalBetween(String...)method in PolyglotAccess.Builder Denies bidirectional evaluation of code between the given languages.
deprecated(boolean)method in OptionDescriptor.Builder Defines if this option is deprecated.
deprecationMessage(String)method in OptionDescriptor.Builder Specifies a human-readable deprecation reason and the recommended fix.
@DisableMethodScopingannotation interface in org.graalvm.polyglot If HostAccess.SCOPED is used, placing this annotation on an exported host function excludes it from parameter scoping, i.e.
disableMethodScoping(Executable)method in HostAccess.Builder Function parameters of the specified executable escape the executable's scope.
disableMethodScopingAnnotatedBy(Class)method in HostAccess.Builder Function parameters of a method annotated with the specified annotation are not scoped.
E
EMPTYfield in OptionDescriptors An empty set of option descriptors.
empty()method in OptionMap Returns an empty option map (immutable).
encoding(Charset)method in Source.Builder Assigns an encoding used to read the file content.
exceptionHandler(Consumer)method in Context.Builder Sets an exception handler that is invoked whenever a PolyglotException is about to be thrown from a context bound value back to the host.
exceptionHandler(Consumer)method in Engine.Builder Sets an exception handler that is invoked whenever a PolyglotException is about to be thrown from a engine bound value back to the host.
CExecutionEventclass in org.graalvm.polyglot.management An execution event object passed to an execution listener consumer.
CExecutionListenerclass in org.graalvm.polyglot.management Execution listeners allow to instrument the execution of guest languages.
EXPERIMENTALenum constant in OptionStability An experimental option has no guarantees of stability and might be removed at any point.
EXPERTenum constant in OptionCategory An option only relevant in corner cases and for fine-tuning.
EXPLICITfield in HostAccess Predefined host access policy that allows access to public host methods or fields that were annotated with @Export and were declared in public class.
@Exportannotation interface in org.graalvm.polyglot Annotation used by the predefined EXPLICIT access policy to mark public constructors, methods and fields in public classes that should be accessible by the guest application.
expressions(boolean)method in ExecutionListener.Builder Include program locations that are marked as expressions.
extendHostAccess(HostAccess, Consumer)method in Context.Builder Extends the existing host access configuration that determines, which public constructors, methods or fields of public classes are accessible by guest applications.
extendIO(IOAccess, Consumer)method in Context.Builder Extends the existing guest language access to host IO configuration.
F
IFileChannelinterface in org.graalvm.polyglot.io A seekable byte channel that supports file locking and, on JDK 22 and later, mapping regions of its file into memory.
IFileLockinterface in org.graalvm.polyglot.io Represents a lock on a region of a file acquired through a FileChannel.
IFileSysteminterface in org.graalvm.polyglot.io Service-provider for Truffle files.
fillInStackTrace()method in PolyglotException Unsupported, PolyglotException instances are not writable therefore filling the stack trace has no effect for them.
findHome()method in Engine Finds the GraalVM home folder.
findLanguage(File)method in Source Returns the id of the first language that supports evaluating the probed mime type of a given file.
findLanguage(String)method in Source Returns the first installed language that supports evaluating sources for a given MIME type.
findLanguage(URL)method in Source Returns the id of the first language that supports evaluating the probed mime type of a given URL.
findMimeType(File)method in Source Returns the probed MIME type for a given file, or null if no MIME type could be resolved.
findMimeType(URL)method in Source Returns the probed MIME type for a given url, or null if no MIME type could be resolved.
fitsInBigInteger()method in Value Returns true if this value represents a number and the value fits in BigInteger, else false.
fitsInByte()method in Value Returns true if this value represents a number and the value fits in byte, else false.
fitsInDouble()method in Value Returns true if this value represents a number and the value fits in double, else false.
fitsInFloat()method in Value Returns true if this value represents a number and the value fits in float, else false.
fitsInInt()method in Value Returns true if this value represents a number and the value fits in int, else false.
fitsInLong()method in Value Returns true if this value represents a number and the value fits in long, else false.
fitsInShort()method in Value Returns true if this value represents a number and the value fits in short, else false.
format(String)method in Version Format the GraalVM version with a custom format string.
from(Duration)method in ProxyDuration Creates a proxy duration from a duration.
from(Instant)method in ProxyInstant Creates a new proxy instant from a Java instant value.
from(Iterable)method in ProxyIterable Creates a proxy iterable backed by a Java Iterable.
from(Iterator)method in ProxyIterator Creates a proxy iterator backed by a Java Iterator.
from(LocalDate)method in ProxyDate Creates a proxy date from a local date.
from(LocalTime)method in ProxyTime Creates a proxy time from a local time.
from(Map)method in ProxyHashMap Creates a proxy hash map backed by a Java Map.
from(ZoneId)method in ProxyTimeZone Creates a proxy timezone from a ZoneId.
fromArray(Object...)method in ProxyArray Creates a proxy array backed by a Java Object array.
fromByteBasedString(byte[], int, …)method in Value Creates a byte-based string value with more granular control over the byte array's usage.
get(long)method in ProxyArray Returns the element at the given index.
get(OptionKey)method in OptionValues Returns the value of a given option.
get(String)method in OptionDescriptors Gets the OptionDescriptor matching a given option name or null if this option descriptor set does not contain a matching option name.
get(String)method in OptionMap Returns the value to which the specified key is mapped, or null if this option map contains no mapping for the key.
getArraySize()method in Value Returns the array size for values with array elements.
getBindings(String)method in Context Returns a value that represents the top-most bindings of a language.
getBufferSize()method in Value Returns the buffer size in bytes for values with buffer elements.
getBytecodeIndex()method in PolyglotException.StackFrame Returns the bytecode index of this frame if available, or a negative number if no bytecode index is available.
getDeprecationMessage()method in OptionDescriptor Returns the deprecation reason and the recommended fix.
getDescriptors()method in OptionValues Returns all available options.
getDirectory()method in ProcessHandler.ProcessCommand Returns the subprocess working directory.
getEncoding(Path)method in FileSystem Returns an file encoding for given path.
getEndColumn()method in SourceSection Returns the 1-based column number of the last character in this section (inclusive).
getEndLine()method in SourceSection Returns 1-based line number of the last character in this section (inclusive).
getEngine()method in Context Provides access to meta-data about the underlying Graal engine.
getEnvironment()method in ProcessHandler.ProcessCommand Returns the subprocess environment as an immutable map.
getErrorRedirect()method in ProcessHandler.ProcessCommand Returns the standard error output destination.
getException()method in ExecutionEvent Returns the exception of this source location after it was executed.
getExitStatus()method in PolyglotException Returns the exit status if this exception indicates that the application was exited.
getFileStoreBlockSize(Path)method in FileSystem Returns the number of bytes per block in the file store that contains the given path.
getFileStoreTotalSpace(Path)method in FileSystem Returns the size, in bytes, of the file store that contains the given path.
getFileStoreUnallocatedSpace(Path)method in FileSystem Returns the number of unallocated bytes in the file store that contains the given path.
getFileStoreUsableSpace(Path)method in FileSystem Returns the number of bytes available to this Java virtual machine on the file store that contains the given path.
getHashEntriesIterator()method in Value Creates a new hash entries iterator that allows read each map entry.
getHashKeysIterator()method in Value Creates a new hash keys iterator that allows read each map key.
getHashSize()method in ProxyHashMap Returns the number of map entries.
getHashSize()method in Value Returns the number of map entries for values with hash entries.
getHashValue(Object)method in Value Returns the value for the specified key or null if the mapping for the specified key does not exist.
getHashValue(Value)method in ProxyHashMap Returns the value for the specified key.
getHashValueOrDefault(Object, Object)method in Value Returns the value for the specified key or the default value if the mapping for the specified key does not exist or is not readable.
getHashValuesIterator()method in Value Creates a new hash values iterator that allows read each map value.
getHelp()method in OptionDescriptor Returns a human-readable description on how to use the option.
getId()method in Instrument Gets the ID clients can use to acquire this instrument.
getId()method in Language Gets the primary identification string of this language.
getImplementationName()method in Engine Gets a human-readable name of the polyglot implementation (for example, "Default Truffle Engine" or "Graal Truffle Engine").
getImplementationName()method in Language Gets a human-readable name of the language implementation (for example, "Graal.JS").
getInputRedirect()method in ProcessHandler.ProcessCommand Returns the standard input source.
getLanguages()method in Engine Gets a map of all installed languages with the language id as key and the language object as value.
getLength()method in Source Gets the number of characters or bytes of the source.
getLineCount()method in Source The number of text lines of a character based source, including empty lines; characters at the end of the source without a terminating newline count as a line.
getLineLength(int)method in Source The number of characters (not counting a possible terminating newline) in a (1-based) numbered line.
getLineNumber(int)method in Source Given a 0-based character offset, return the 1-based number of the line that includes the position.
getLineStartOffset(int)method in Source Given a 1-based line number, return the 0-based offset of the first character in the line.
getLocation()method in ExecutionEvent Returns the source location of the event that was triggered or null if no location source location is available.
getMember(String)method in ProxyObject Returns the value of the member.
getMember(String)method in Value Returns the member with a given identifier or null if the member does not exist.
getMemberKeys()method in ProxyObject Returns an array of member keys.
getMemberKeys()method in Value Returns a set of all member keys.
getMessage()method in PolyglotException Gets a user readable message for the polyglot exception.
getMetaObject()method in Value Returns the metaobject that is associated with this value or null if no metaobject is available.
getRawType()method in TypeLiteral Returns the raw class type of the literal.
getReader()method in Source Returns a new reader that reads from the characters provided by this source.
getReturnValue()method in ExecutionEvent Returns the return value of this source location after it was executed.
getRootName()method in ExecutionEvent Returns the root name or null if no name is available.
getRootName()method in PolyglotException.StackFrame Returns the root name of this stack frame.
getSeparator()method in FileSystem Returns the name separator used to separate names in a path string.
getSize()method in ProxyArray Returns the reported size of the array.
getSource()method in SourceSection Representation of the source program that contains this section.
getSourceLocation()method in PolyglotException Gets a guest language source location of this error or null if no source location is available for this exception.
getSourceLocation()method in PolyglotException.StackFrame Returns the source location of the stack frame or null if no source location is available.
getSourceLocation()method in Value Returns the declared source location of the value.
getSourceOptions()method in Instrument Returns the source options descriptors available for sources of this instrument.
getSourceOptions()method in Language Returns the source options descriptors available for sources of this language.
getStability()method in OptionDescriptor Returns the stability of this option.
getStackTrace()method in PolyglotException Gets stack trace elements for Java and guest languages.
getStartColumn()method in SourceSection Returns the 1-based column number of the first character in this section (inclusive).
getStartLine()method in SourceSection Returns 1-based line number of the first character in this section (inclusive).
getStaticScope()method in Value Returns the static scope associated with this value.
getTempDirectory()method in FileSystem Returns the default temporary directory.
hasBeenSet(OptionValues)method in OptionKey Returns true if a value for this key has been set for the given option values or false if no value has been set.
hasBufferElements()method in Value Returns true if the receiver may have buffer elements.
hasBytes()method in Source Returns true if this source represents a byte based source, else false.
hasCharacters()method in Source Returns true if this source represents a character based source, else false.
hasCharIndex()method in SourceSection Returns true if this section has a character index information, false otherwise.
hasColumns()method in SourceSection Returns true if this section has a column number information, false otherwise.
HASH_TO_JAVA_MAPenum constant in HostAccess.MutableTargetMapping Enables default mapping of guest object hashes to host object Map.
hasHashEntries()method in Value Returns true if this polyglot value represents a map.
hasHashEntry(Object)method in Value Returns true if mapping for the specified key exists.
hasHashEntry(Value)method in ProxyHashMap Returns true if the proxy object contains a mapping for the specified key, or else false.
help(String)method in OptionDescriptor.Builder Specifies a human-readable description on how to use the option.
HIGHenum constant in HostAccess.TargetMappingPrecedence Defines high or default precedence and conversion order for a target type mapping.
HIGHESTenum constant in HostAccess.TargetMappingPrecedence Defines higher precedence and conversion order as all default mappings and target type mappings with lower precedence.
CHomeFinderabstract class in org.graalvm.home A utility class to find various paths of the running GraalVM, as well as the version.
CHostAccessclass in org.graalvm.polyglot Represents the host access policy of a polyglot context.
hostClassFilter(Predicate)method in Context.Builderdeprecated Sets a class filter that allows to limit the classes that are allowed to be loaded by guest languages.
INTERNALenum constant in OptionCategory An option only relevant when debugging a language implementation or an instrument.
internal(boolean)method in Source.Builder Set whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
interrupt(Duration)method in Context Use this method to interrupt this context.
CIOAccessclass in org.graalvm.polyglot.io Represents an IO access configuration of a polyglot context.
isAvailable()method in SourceSection Returns whether this is a special instance that signifies that source information is available.
isBoolean()method in Value Returns true if this value represents a boolean value.
isBufferWritable()method in Value Returns true if the receiver object is a modifiable buffer.
isCancelled()method in PolyglotException Returns true if the execution was cancelled.
isConstant()method in OptionDescriptor Returns true if this option is constant.
isDate()method in Value Returns true if this object represents a date, else false.
isDeprecated()method in OptionDescriptor Returns true if this option was marked deprecated.
isDuration()method in Value Returns true if this object represents a duration, else false.
isException()method in Value Returns true if this object represents an exception, else false.
isExit()method in PolyglotException Returns true if this exception is caused by an attempt of a guest language program to exit the application.
isExpression()method in ExecutionEvent Returns true if the source location is marked as expression, else false.
isFileStoreReadOnly(Path)method in FileSystem Determines whether the file store containing the given path is read-only.
isGuestException()method in PolyglotException Returns true if this exception originates from a Graal guest language.
isGuestFrame()method in PolyglotException.StackFrame Returns true if the stack frame originates from the guest language.
isHostException()method in PolyglotException Returns true if this exception originates from the Java host language.
isHostFrame()method in PolyglotException.StackFrame Returns true if the stack frame originates from the host language.
isHostObject()method in Value Returns true if the value originated form the host language Java.
isIncompleteSource()method in PolyglotException Returns true if this exception indicates a syntax error that is indicating that the syntax is incomplete.
isInstant()method in Value Returns true if this value represents an instant.
isInteractive()method in Language Returns true if a the language is suitable for interactive evaluation of sources.
isInteractive()method in Source Check whether this source has been marked as interactive.
isInternal()method in Source Gets whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
isInternalError()method in PolyglotException Returns true if this exception was caused by an internal implementation error.
isIterator()method in Value Returns true if the value represents an iterator object.
isMetaInstance(Object)method in Value Returns true if the given instance is an instance of this value, else false.
isMetaObject()method in Value Returns true if the value represents a metaobject.
isNativePointer()method in Value Returns true if this value is a native pointer.
isNull()method in Value Returns true if this value is a null like.
isNumber()method in Value Returns true if this value represents a number, else false.
ISOLATEDenum constant in SandboxPolicy Policy intended for trusted applications, but which might have security vulnerabilities and optionally that can be mitigated using this policy.
ISOLATEDfield in HostAccess Predefined host access policy used by Context with an SandboxPolicy.ISOLATED sandbox policy when the host access policy is not explicitly specified by the embedder.
isOptionMap()method in OptionDescriptor Returns true if this option is an option map.
ITERATOR_TO_JAVA_ITERATORenum constant in HostAccess.MutableTargetMapping Enables default mapping of guest object iterators to host object Iterator.
L
CLanguageclass in org.graalvm.polyglot A handle for a Graal language installed in an engine.
leave()method in Context Explicitly leaves the context on the current thread.
length()method in ByteSequence Returns the length of this byte sequence.
lock()method in FileChannel Acquires an exclusive lock on this channel's file, blocking until the lock is acquired, this channel is closed, or the invoking thread is interrupted.
lock(long, long, boolean)method in FileChannel Acquires a lock on a region of this channel's file, blocking until the lock is acquired, this channel is closed, or the invoking thread is interrupted.
newInstance(Value...)method in ProxyInstantiable Creates a new instance of the object with the given arguments.
newReadOnlyFileSystem(FileSystem)method in FileSystem Decorates the given fileSystem by an implementation that makes the passed fileSystem read-only by forbidding all write operations.
NONEfield in EnvironmentAccess Provides guest languages no access to process environment.
NONEfield in HostAccess Predefined host access policy that disallows any access to public host methods or fields.
NONEfield in IOAccess Provides guest language no access to IO.
NONEfield in PolyglotAccess Provides guest languages no access to other languages using polyglot builtins evaluation and binding builtins.
onEnter(Consumer)method in ExecutionListener.Builder Set a listener that is notified when an execution of an element is entered.
onLimit(Consumer)method in ResourceLimits.Builder Notified when a resource limit is reached.
onReturn(Consumer)method in ExecutionListener.Builder Set a listener that is notified when an execution of an element was entered and completed.
open(URI, MessageEndpoint)method in MessageTransport Called when a connection to an URI is to be established.
@Optimizedannotation interface in org.graalvm.polyglot Requests an implementation optimized for invocation speed when converting a guest value to this interface with Value.as(Class).
COptionKeysealed class in org.graalvm.options Represents the option key for an option specification.
OptionKey(T)constructor in OptionKey Constructs a new option key given a default value.
OptionKey(T, OptionType)constructor in OptionKey Constructs a new option key given a default value and option key.
COptionMapclass in org.graalvm.options Represents a mapping between String keys and values.
options(Map)method in Context.Builder Shortcut for setting multiple options using a map.
options(Map)method in Engine.Builder Shortcut for setting multiple options using a map.
options(Map)method in Source.Builder Shortcut for setting multiple options using a map.
EOptionStabilityenum class in org.graalvm.options Categorizes options according to their stability.
COptionTypeclass in org.graalvm.options Represents a type of an option that allows to convert string values to Java values.
OptionType(String, Function)constructor in OptionType Constructs a new option type with name and function that allows to convert a string to the option type.
OptionType(String, Function, Consumer)constructor in OptionType Constructs a new option type with name and function that allows to convert a string to the option type and validator of the option values.
out(OutputStream)method in Context.Builder Sets the standard output stream to be used for the context.
out(OutputStream)method in Engine.Builder Sets the standard output stream to be used for this engine.
P
parse(Source)method in Context Parses but does not evaluate a given source by using the language specified in the source and returns a value that can be executed.
parse(String)method in Version Parses a GraalVM version from its String raw format.
IProxyinterface in org.graalvm.polyglot.proxy Proxy interfaces allow to mimic guest language objects, arrays, executables, primitives and native objects in Graal languages.
IProxyArrayinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language arrays.
IProxyDateinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that represents dates.
IProxyDurationinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that represents durations.
IProxyExecutableinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that are executable.
IProxyHashMapinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language hash maps.
IProxyInstantinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that represents timestamps.
IProxyInstantiableinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that are instantiable.
IProxyIterableinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language iterables.
IProxyIteratorinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language iterators.
IProxyNativeObjectinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic native pointers.
IProxyObjectinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that contain members.
IProxyTimeinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that represents times.
IProxyTimeZoneinterface in org.graalvm.polyglot.proxy Interface to be implemented to mimic guest language objects that represents timezones.
CRedirectclass in org.graalvm.polyglot.io Represents a source of subprocess input or a destination of subprocess output.
register(Source...)method in PreinitializedSources Registers sources to be parsed by context pre-initialization: all of them, or none if this method throws.
remove(long)method in ProxyArray Removes the element at the given index.
ESandboxPolicyenum class in org.graalvm.polyglot The sandbox policy presets and validates configurations of a context or engine to be suitable as a code sandbox.
SCOPEDfield in HostAccess Predefined host access policy that is the same as EXPLICIT and enables method scoping of callback parameter values on top.
CSelectorabstract class in org.graalvm.polyglot.io A selector for determining which FileSystem should handle operations on a given Path.
size()method in FileLock Returns the size of the locked region in bytes.
CSourceclass in org.graalvm.polyglot Representation of a source code unit and its contents that can be evaluated in an execution context.
sourceFilter(Predicate)method in ExecutionListener.Builder Set an addition filter that filters execution events by source.
CSourceSectionclass in org.graalvm.polyglot Description of contiguous section of text within a Source of program code.; supports multiple modes of access to the text and its location.
spawnIsolate(boolean)method in Context.Builder Specifies whether the implicitly created engine should run guest languages in a polyglot isolate.
spawnIsolate(boolean)method in Engine.Builder Specifies whether this engine should run guest languages in a polyglot isolate.
statementLimit(long, Predicate)method in ResourceLimits.Builder Specifies the maximum number of statements a context may execute until the onLimit event is notified and the context will be closed.
statements(boolean)method in ExecutionListener.Builder Include program locations that are marked as statements.
storeCache(Path)method in Engine Stores the auxiliary engine cache to the targetFile without cancellation.
toString()method in SourceSection Returns an implementation-defined string representation of this source section to be used for debugging purposes only.
TRUSTEDenum constant in SandboxPolicy Policy intended for fully trusted applications.
tryLock()method in FileChannel Attempts to acquire an exclusive lock on this channel's file without blocking.
tryLock(long, long, boolean)method in FileChannel Attempts to acquire a lock on a region of this channel's file without blocking.
CTypeLiteralabstract class in org.graalvm.polyglot Represents a generic type T.
TypeLiteral()constructor in TypeLiteral Constructs a new type literal.
U
UNTRUSTEDenum constant in SandboxPolicy Policy intended for untrusted applications.
UNTRUSTEDfield in HostAccess Predefined host access policy used by Context with an SandboxPolicy.UNTRUSTED sandbox policy when the host access policy is not explicitly specified by the embedder.
USERenum constant in OptionCategory An option common for users to apply.
useSystemExit(boolean)method in Context.Builder Specifies whether System.exit(int) may be used to improve efficiency of stack unwinding for context exit requested by the guest application.
writeBufferInt(ByteOrder, long, int)method in Value Writes the given int in the given byte order at the given byte offset from the start of the buffer.
writeBufferLong(ByteOrder, long, long)method in Value Writes the given long in the given byte order at the given byte offset from the start of the buffer.