All Classes and Interfaces
Class
Description
Creates an alias in PainlessLookupBuilder for the given class.
Parser for the
Marks an allowlisted constructor or method that allocates a fixed number of
bytes, charged against the per-context
allocation limit before the call executes.Parses
@allocates_constant[bytes="40b"]: a single bytes argument holding a non-negative
ByteSizeValue (a unit is required except for "0").Marks an allowlisted constructor or method whose allocation size depends on its arguments.
Parses
@allocates_dynamic[class="fully.qualified.Class", method="methodName"].Use an augmented annotation to augment a class to have available
a static final field from a different class.
Methods annotated with this must be run at compile time so their arguments
must all be constant and they produce a constant.
Methods annotated with
CompileTimeOnlyAnnotation must be run at
compile time so their arguments must all be constant and they produce a
constant.Inject compiler setting constants.
Generic "test" context used by the painless execute REST API
for testing painless scripts.
Marks a whitelisted augmentation method as script-aware: in script contexts that activate it,
the lookup builder resolves the call to an augmentation overload that takes a leading
PainlessScript parameter, and the compiler emits aload 0 (the script receiver)
ahead of the user-supplied arguments at every call site.Whitelist contains data structures designed to be used to generate a whitelist of Java classes,
constructors, methods, and fields that can be used within a Painless script at both compile-time
and run-time.
WhitelistAnnotationParser is an interface used to define how to
parse an annotation against any whitelist object while loading.
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 whitelisted class
constructor within Painless.
Field represents the equivalent of a Java field available as a whitelisted class field
within Painless.
An instance binding represents a method call that stores state.
Loads and creates a
Whitelist from one to many text files.Method represents the equivalent of a Java method available as a whitelisted class method
within Painless.