All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.giffing.bucket4j.spring.boot.starter.context.constraintvalidations.ValidBandWidthIds Maven / Gradle / Ivy

The newest version!
package com.giffing.bucket4j.spring.boot.starter.context.constraintvalidations;

import jakarta.validation.Constraint;
import jakarta.validation.Payload;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Constraint(validatedBy = RateLimitBandWidthIdsValidator.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface ValidBandWidthIds {
	String message() default "Duplicate bandwidth id detected";

	Class[] groups() default {};

	Class[] payload() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy