@Target(value={METHOD,FIELD,TYPE,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @ConstraintComposition(value=AND) @Repeatable(value=AviatorScriptCheck.List.class) @Constraint(validatedBy={}) @ReportAsSingleViolation @ScriptAssert(lang="aviator", script="", alias="$") public @interface AviatorScriptCheck
@OverridesAttribute(constraint=org.hibernate.validator.constraints.ScriptAssert.class,
name="script")
public abstract String script
Boolean.TRUE, if the annotated element could
successfully be validated, otherwise Boolean.FALSE.
Returning null or any type other than Boolean will cause a
ConstraintDeclarationException upon validation. Any
exception occurring during script evaluation will be wrapped into
a ConstraintDeclarationException, too. Within the script, the
validated object can be accessed from the script context using the name specified in the
alias attribute.public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
@OverridesAttribute(constraint=org.hibernate.validator.constraints.ScriptAssert.class,
name="reportOn")
public abstract String reportOn
Copyright © 2023. All rights reserved.