Class PolicyBodyScope
java.lang.Object
dev.frostlake.functions.scalar.context.PolicyBodyScope
Marks the thread as evaluating a POLICY BODY, for the functions that live only there.
AGGREGATION_CONSTRAINT is one: live answers
The AGGREGATION_CONSTRAINT function can only be called from a body of an aggregation
constraint policy to a bare call, while NO_AGGREGATION_CONSTRAINT and
PROJECTION_CONSTRAINT are callable anywhere.-
Method Summary
-
Method Details
-
isInside
public static boolean isInside() -
enter
public static void enter()Enter the scope; the caller MUST leave it in a finally block. -
leave
public static void leave()
-