Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort(IOException) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher, indicating failure because of the provided
IOException. - abort(IOException, int) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher with the provided exit code because of the provided
IOException. - abort(String) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher, indicating failure.
- abort(String, int) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher, with the provided exit code.
- abort(Throwable) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher, indicating failure because of the provided
Throwable. - abort(Throwable, int) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher with the provided exit code because of the provided
Throwable. - abortInvalidArgument(String, String) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher, indicating failure because of an invalid argument.
- abortInvalidArgument(String, String, int) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher with the provided exit code because of an invalid argument.
- abortUnrecognizedArgument(String) - Method in class org.graalvm.launcher.Launcher
-
This is called to abort execution when an argument can neither be recognized by the launcher or as an option for the polyglot engine.
- AbstractLanguageLauncher - Class in org.graalvm.launcher
- AbstractLanguageLauncher() - Constructor for class org.graalvm.launcher.AbstractLanguageLauncher
- AbstractLanguageLauncher.RelaunchException - Exception Class in org.graalvm.launcher
-
Used by the native launcher to detect that a relaunch of the VM is needed.
- argumentsProcessingDone() - Method in class org.graalvm.launcher.LanguageLauncherBase
C
- canPolyglot() - Method in class org.graalvm.launcher.Launcher
-
Determines if the tool supports polyglot.
- collectArguments(Set<String>) - Method in class org.graalvm.launcher.LanguageLauncherBase
- collectArguments(Set<String>) - Method in class org.graalvm.launcher.Launcher
-
Add all known arguments to the
optionslist. - collectArguments(Set<String>) - Method in class org.graalvm.launcher.PolyglotLauncher
D
- Darwin - Enum constant in enum class org.graalvm.launcher.Launcher.OS
E
- executeJVM(String, List<String>, List<String>) - Method in class org.graalvm.launcher.Launcher
-
Called if a JVM has to be started instead of AOT binary.
- executeJVM(String, List<String>, List<String>, Map<String, String>) - Method in class org.graalvm.launcher.Launcher
-
Deprecated.
- executePolyglot(List<String>, boolean) - Method in class org.graalvm.launcher.Launcher
-
Called to execute the bin/polyglot launcher with the supplied options.
- executePolyglot(List<String>, Map<String, String>, boolean) - Method in class org.graalvm.launcher.Launcher
-
Deprecated.
- exit() - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher, indicating success.
- exit(int) - Method in class org.graalvm.launcher.Launcher
-
Exits the launcher with the provided exit code.
F
- fillInStackTrace() - Method in exception class org.graalvm.launcher.Launcher.AbortException
- findOptionDescriptor(String, String) - Method in class org.graalvm.launcher.LanguageLauncherBase
- findOptionDescriptor(String, String) - Method in class org.graalvm.launcher.Launcher
-
Finds the a descriptor for the option.
G
- getCurrent() - Static method in enum class org.graalvm.launcher.Launcher.OS
- getDefaultLanguages() - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
The return value specifies what languages should be available by default when not using --polyglot.
- getDefaultVMType() - Method in class org.graalvm.launcher.Launcher
-
The return value specifies the default VM when none of --jvm, --native options is used.
- getError() - Method in class org.graalvm.launcher.Launcher
- getExitCode() - Method in exception class org.graalvm.launcher.Launcher.AbortException
- getGraalVMBinaryPath(String) - Method in class org.graalvm.launcher.Launcher
-
Returns filename of the binary, depending on OS.
- getGraalVMHome() - Method in class org.graalvm.launcher.Launcher
- getLanguageId() - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
Returns the language id of the language launched by this launcher.
- getLogFile() - Method in class org.graalvm.launcher.Launcher
-
Provides the name of the log file, if specified on the command line.
- getMainClass() - Method in class org.graalvm.launcher.Launcher
-
Returns the name of the main class for this launcher.
- getMessage() - Method in exception class org.graalvm.launcher.AbstractLanguageLauncher.RelaunchException
- getNativeArgc() - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
The native argument count as passed to the main method of the native launcher.
- getNativeArgv() - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
The native argument values as passed to the main method of the native launcher.
- getOutput() - Method in class org.graalvm.launcher.Launcher
- getProgramName() - Static method in class org.graalvm.launcher.Launcher
-
Returns what is an equivalent of
argv[0]}, i.e., the command that executed the launcher.
I
- IS_LIBPOLYGLOT - Static variable in class org.graalvm.launcher.AbstractLanguageLauncher
- isAOT() - Static method in class org.graalvm.launcher.Launcher
-
Returns true if the current launcher was compiled ahead-of-time to native code.
- isGraalVMAvailable() - Method in class org.graalvm.launcher.Launcher
- isStandalone() - Method in class org.graalvm.launcher.Launcher
- isTTY() - Static method in class org.graalvm.launcher.Launcher
-
Returns true if stdin and stdout are both TTY, false otherwise.
J
- JVM - Enum constant in enum class org.graalvm.launcher.Launcher.VMType
L
- LanguageLauncherBase - Class in org.graalvm.launcher
-
Base implementation for polyglot-aware languages and tools.
- LanguageLauncherBase() - Constructor for class org.graalvm.launcher.LanguageLauncherBase
- launch(String[]) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
This starts the launcher.
- launch(Context.Builder) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
Launch the scripts as required by the arguments received during the previous call to
AbstractLanguageLauncher.preprocessArguments(List, Map). - Launcher - Class in org.graalvm.launcher
- Launcher() - Constructor for class org.graalvm.launcher.Launcher
- LAUNCHER_OPTIONS_INDENT - Static variable in class org.graalvm.launcher.Launcher
-
Default option description indentation.
- Launcher.AbortException - Exception Class in org.graalvm.launcher
-
Exception which shall abort the launcher execution.
- Launcher.OS - Enum Class in org.graalvm.launcher
- Launcher.VersionAction - Enum Class in org.graalvm.launcher
- Launcher.VMType - Enum Class in org.graalvm.launcher
- launcherOption(String, String) - Method in class org.graalvm.launcher.Launcher
-
Prints a line for a launcher option.
- Linux - Enum constant in enum class org.graalvm.launcher.Launcher.OS
M
- main(String[]) - Static method in class org.graalvm.launcher.PolyglotLauncher
- maybeNativeExec(List<String>, boolean, Map<String, String>) - Method in class org.graalvm.launcher.Launcher
-
Deprecated.
- maybeNativeExec(List<String>, List<String>, boolean) - Method in class org.graalvm.launcher.Launcher
-
Possibly re-executes the launcher when JVM or polyglot mode is requested; call only if
Launcher.isAOT()is true. - maybePrintAdditionalHelp(OptionCategory) - Method in class org.graalvm.launcher.LanguageLauncherBase
- maybePrintAdditionalHelp(OptionCategory) - Method in class org.graalvm.launcher.Launcher
-
Should print tool-specific help.
N
- Native - Enum constant in enum class org.graalvm.launcher.Launcher.VMType
- newLogStream(Path) - Static method in class org.graalvm.launcher.Launcher
-
Creates a new log file.
- None - Enum constant in enum class org.graalvm.launcher.Launcher.VersionAction
O
- org.graalvm.launcher - package org.graalvm.launcher
P
- parseCommonOption(String, Map<String, String>, boolean, String) - Method in class org.graalvm.launcher.LanguageLauncherBase
- parseCommonOption(String, Map<String, String>, boolean, String) - Method in class org.graalvm.launcher.Launcher
-
Parses an option, returning success.
- parseUnrecognizedOptions(String, Map<String, String>, List<String>) - Method in class org.graalvm.launcher.Launcher
-
Parses otherwise unrecognized options.
- PolyglotLauncher - Class in org.graalvm.launcher
- PolyglotLauncher() - Constructor for class org.graalvm.launcher.PolyglotLauncher
- preprocessArguments(List<String>, Map<String, String>) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
Process command line arguments by either saving the necessary state or adding it to the
polyglotOptions. - PrintAndContinue - Enum constant in enum class org.graalvm.launcher.Launcher.VersionAction
- PrintAndExit - Enum constant in enum class org.graalvm.launcher.Launcher.VersionAction
- printDefaultHelp(OptionCategory) - Method in class org.graalvm.launcher.LanguageLauncherBase
- printDefaultHelp(OptionCategory) - Method in class org.graalvm.launcher.Launcher
-
Prints default help text.
- printHelp(OptionCategory) - Method in class org.graalvm.launcher.Launcher
-
Prints a help message to stdout.
- printHelp(OptionCategory) - Method in class org.graalvm.launcher.PolyglotLauncher
- println(String) - Method in class org.graalvm.launcher.Launcher
-
Prints a single line to the output stream, terminated with newline.
- println(String...) - Method in class org.graalvm.launcher.Launcher
-
Prints sequence of lines to the output stream.
- printOtherHelpCategory(String, String) - Method in class org.graalvm.launcher.Launcher
-
Instructs that information about other help categories should be printed.
- printPolyglotVersions() - Method in class org.graalvm.launcher.LanguageLauncherBase
-
Prints version information about all known languages and instruments on stdout.
- printVersion() - Method in class org.graalvm.launcher.AbstractLanguageLauncher
- printVersion() - Method in class org.graalvm.launcher.Launcher
-
Prints version information on stdout.
- printVersion() - Method in class org.graalvm.launcher.PolyglotLauncher
- printVersion(Engine) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
- printVersion(Engine) - Method in class org.graalvm.launcher.PolyglotLauncher
R
- runLauncher(byte[][], byte[][], int, long, boolean) - Static method in class org.graalvm.launcher.AbstractLanguageLauncher
-
Entry point for invoking the launcher via JNI.
- runLauncherAction() - Method in class org.graalvm.launcher.LanguageLauncherBase
- runLauncherAction() - Method in class org.graalvm.launcher.Launcher
-
Runs launcher's action as version print or help.
- runVersionAction(Launcher.VersionAction, Engine) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
S
- setError(PrintStream) - Method in class org.graalvm.launcher.Launcher
-
Uses the defined output to print error messages.
- setOptionIndent(int) - Method in class org.graalvm.launcher.Launcher
-
Sets the indentation for option descriptions.
- setOutput(PrintStream) - Method in class org.graalvm.launcher.Launcher
-
Uses the defined output to print messages.
- Solaris - Enum constant in enum class org.graalvm.launcher.Launcher.OS
V
- validateArguments(Map<String, String>) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
Validates arguments after all arguments have been parsed.
- validateVmArguments(List<String>, List<String>) - Method in class org.graalvm.launcher.AbstractLanguageLauncher
-
Check if the arguments parsing heuristic of the native launcher correctly identified the set of VM arguments.
- valueOf(String) - Static method in enum class org.graalvm.launcher.Launcher.OS
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.launcher.Launcher.VersionAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.graalvm.launcher.Launcher.VMType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.graalvm.launcher.Launcher.OS
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.launcher.Launcher.VersionAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.graalvm.launcher.Launcher.VMType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Method in class org.graalvm.launcher.Launcher
- warn(String, Object...) - Method in class org.graalvm.launcher.Launcher
- Windows - Enum constant in enum class org.graalvm.launcher.Launcher.OS
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form