com.github.houbb.valid.jsr.constraint.annotation.AtAssertTrueConstraint Maven / Gradle / Ivy
package com.github.houbb.valid.jsr.constraint.annotation;
import com.github.houbb.heaven.annotation.ThreadSafe;
import com.github.houbb.valid.api.api.constraint.IConstraint;
import com.github.houbb.valid.core.api.constraint.annotation.AbstractAnnotationConstraint;
import com.github.houbb.valid.jsr.constraint.JsrConstraints;
import javax.validation.constraints.AssertTrue;
/**
* AssertTrue 信息
* @author binbin.hou
* @since 0.1.1
*/
@ThreadSafe
public class AtAssertTrueConstraint extends AbstractAnnotationConstraint {
@Override
protected IConstraint buildConstraint(AssertTrue annotation) {
return JsrConstraints.assertTrueConstraint();
}
}