Package org.opensearch.painless.spi
package org.opensearch.painless.spi
-
ClassDescriptionAllowlist contains data structures designed to be used to generate an allowlist of Java classes, constructors, methods, and fields that can be used within a Painless script at both compile-time and run-time.Class represents the equivalent of a Java class in Painless complete with super classes, constructors, methods, and fields.A class binding represents a method call that stores state.Constructor represents the equivalent of a Java constructor available as a allowlisted class constructor within Painless.Field represents the equivalent of a Java field available as an allowlisted class field within Painless.An instance binding represents a method call that stores state.Loads and creates a
Whitelistfrom one to many text files.Method represents the equivalent of a Java method available as an allowlisted class method within Painless.