public class AssertTrueValidator extends Object implements ConstraintValidator<AssertTrue,Boolean>
Constructor and Description |
---|
AssertTrueValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(AssertTrue constraintAnnotation) |
boolean |
isValid(Boolean bool,
ConstraintValidatorContext constraintValidatorContext) |
public void initialize(AssertTrue constraintAnnotation)
initialize
in interface ConstraintValidator<AssertTrue,Boolean>
public boolean isValid(Boolean bool, ConstraintValidatorContext constraintValidatorContext)
isValid
in interface ConstraintValidator<AssertTrue,Boolean>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved