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
FieldsModifier and TypeFieldDescriptionstatic final EnvironmentAccessProvides guest languages read access to process environment.static final EnvironmentAccessProvides 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. TheNONEis a default value forContexts created withoutall access.- Since:
- 19.1.0
-
INHERIT
Provides guest languages read access to process environment. TheINHERITis a default value forContexts created withall accessset totrue.- Since:
- 19.1.0
-
-
Method Details
-
toString
-