Class EnvironmentAccess

java.lang.Object
org.graalvm.polyglot.EnvironmentAccess

public final class EnvironmentAccess extends Object
Represents an access policy to the process environment for the guest languages of a context.
Since:
19.1.0
  • Field Details

    • NONE

      public static final EnvironmentAccess NONE
      Provides guest languages no access to process environment. No environment variables are visible for reading. The NONE is a default value for Contexts created without all access.
      Since:
      19.1.0
    • INHERIT

      public static final EnvironmentAccess INHERIT
      Provides guest languages read access to process environment. The INHERIT is a default value for Contexts created with all access set to true.
      Since:
      19.1.0
  • Method Details