ProhibitionExtensions extension
Extensions for Prohibition additional behavior.
- on
Methods
-
copyWith(
{String? id, String? statement, ProhibitionSeverity? severity, String? rationale, List< ProhibitionException> ? exceptions}) → Prohibition -
Available on Prohibition, provided by the ProhibitionExtensions extension
Create a copy with modified fields. -
hasApplicableException(
String context) → bool -
Available on Prohibition, provided by the ProhibitionExtensions extension
Check if an exception applies given a justification context. -
validate(
) → void -
Available on Prohibition, provided by the ProhibitionExtensions extension
Validate Prohibition constraints.