Top Description Constructors Methods
org.graalvm.nativeimage.hosted

public final Class RuntimeSystemProperties

extends Object
Class Inheritance
Imports
java.util.Objects, org.graalvm.nativeimage.ImageSingletons, org.graalvm.nativeimage.impl.RuntimeSystemPropertiesSupport

This class provides methods that can be called during native image generation to define system property setting for image runtime.
Since
23.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
register(String key, String value)

Define a system property setting for image runtime.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RuntimeSystemPropertiesback to summary
private RuntimeSystemProperties()

Method Detail

registerback to summary
public static void register(String key, String value)

Define a system property setting for image runtime. This ensures a given key has the given value at runtime even if no system property is set via command line of the image execution.

Since
23.0