class BooleanConstraint extends ValueConstraint
Ordering
- Alphabetic
- By Inheritance
Inherited
- BooleanConstraint
- ValueConstraint
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
assertConstraint(value: AnyRef): Unit
Throws a Violation condition if the input is not acceptable.
Throws a Violation condition if the input is not acceptable.
- Definition Classes
- BooleanConstraint → ValueConstraint
- Annotations
- @throws( classOf[ValueConstraint.Violation] )
-
def
coerceValue(value: AnyRef): Boolean
Returns the constrained value, which can differ from the input.
Returns the constrained value, which can differ from the input. Throws a Violation condition if the input is not coercable.
- Definition Classes
- BooleanConstraint → ValueConstraint
-
var
defaultValue: Boolean
- Definition Classes
- BooleanConstraint → ValueConstraint