Class Whitelist

java.lang.Object
org.opensearch.painless.spi.Whitelist

public final class Whitelist extends Object
Allowlist 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.

A Allowlist consists of several pieces with WhitelistClasss as the top level. Each WhitelistClass will contain zero-to-many WhitelistConstructors, WhitelistMethods, and WhitelistFields which are what will be available with a Painless script. See each individual allowlist object for more detail.