Class NothingRule

java.lang.Object
nz.org.riskscape.engine.types.varule.NothingRule
All Implemented Interfaces:
Identified, VarianceRule

public class NothingRule extends Object implements VarianceRule

Accepts null/nothing being passed to a Nullable target. Note this rule needs to take precedence over NullableTargetRule, as it needs to run before the Nullable has been stripped from the target.