com.neotys.neoload.model.validation.constraints.PositiveCheck Maven / Gradle / Ivy
package com.neotys.neoload.model.validation.constraints;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;
import javax.validation.ReportAsSingleViolation;
import javax.validation.constraints.Positive;
/**
* @deprecated As of v3, replaced by an associated class from v3 version.
*/
@Positive
@Target( { METHOD, FIELD })
@Retention(RUNTIME)
@Constraint(validatedBy = {})
@ReportAsSingleViolation
@Deprecated
public @interface PositiveCheck {
String message() default "{com.neotys.neoload.model.validation.constraints.PositiveCheck.message}";
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
String unit() default "";
}