Package org.graalvm.polyglot
Class EnvironmentAccess
java.lang.Object
org.graalvm.polyglot.EnvironmentAccess
Represents an access policy to the process environment for the guest languages of a context.
- Since:
- 19.1.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EnvironmentAccess
Provides guest languages read access to process environment.static final EnvironmentAccess
Provides guest languages no access to process environment. -
Method Summary
-
Field Details
-
NONE
Provides guest languages no access to process environment. No environment variables are visible for reading. TheNONE
is a default value forContext
s created withoutall access
.- Since:
- 19.1.0
-
INHERIT
Provides guest languages read access to process environment. TheINHERIT
is a default value forContext
s created withall access
set totrue
.- Since:
- 19.1.0
-
-
Method Details