Interface RuleLookup<T>
@NullMarked
public interface RuleLookup<T>
-
Method Summary
Modifier and TypeMethodDescriptionresolveValue(@Nullable Claim claim) Safely resolves the value of the rule for a specific claim.
-
Method Details
-
resolveValue
Safely resolves the value of the rule for a specific claim. Handles wilderness (or null claim) and unset properties.- Parameters:
claim- The claim to check, or null.- Returns:
- Optional containing the resolved value, or empty if the rule should pass/be ignored.
-