Package org.graalvm.launcher
Class PolyglotLauncher
java.lang.Object
org.graalvm.launcher.Launcher
org.graalvm.launcher.LanguageLauncherBase
org.graalvm.launcher.PolyglotLauncher
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graalvm.launcher.Launcher
Launcher.AbortException, Launcher.OS, Launcher.VersionAction, Launcher.VMType -
Field Summary
Fields inherited from class org.graalvm.launcher.Launcher
LAUNCHER_OPTIONS_INDENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectArguments(Set<String> args) Add all known arguments to theoptionslist.static voidprotected voidprintHelp(org.graalvm.options.OptionCategory maxCategory) Prints a help message to stdout.protected voidPrints version information on stdout.protected voidprintVersion(org.graalvm.polyglot.Engine engine) Methods inherited from class org.graalvm.launcher.LanguageLauncherBase
argumentsProcessingDone, findOptionDescriptor, maybePrintAdditionalHelp, parseCommonOption, printDefaultHelp, printPolyglotVersions, runLauncherActionMethods inherited from class org.graalvm.launcher.Launcher
abort, abort, abort, abort, abort, abort, abortInvalidArgument, abortInvalidArgument, abortUnrecognizedArgument, canPolyglot, executeJVM, executeJVM, executePolyglot, executePolyglot, exit, exit, getDefaultVMType, getError, getGraalVMBinaryPath, getGraalVMHome, getLogFile, getMainClass, getOutput, getProgramName, isAOT, isGraalVMAvailable, isStandalone, isTTY, launcherOption, maybeNativeExec, maybeNativeExec, newLogStream, parseUnrecognizedOptions, println, println, printOtherHelpCategory, setError, setOptionIndent, setOutput, warn, warn
-
Constructor Details
-
PolyglotLauncher
public PolyglotLauncher()
-
-
Method Details
-
printHelp
protected void printHelp(org.graalvm.options.OptionCategory maxCategory) Description copied from class:LauncherPrints a help message to stdout. This only prints options that belong to categoriesmaxCategory or less. -
collectArguments
Description copied from class:LauncherAdd all known arguments to theoptionslist.- Overrides:
collectArgumentsin classLanguageLauncherBase- Parameters:
args- list to which valid arguments must be added.
-
printVersion
protected void printVersion()Description copied from class:LauncherPrints version information on stdout.- Specified by:
printVersionin classLauncher
-
printVersion
protected void printVersion(org.graalvm.polyglot.Engine engine) -
main
-