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

org.cardanofoundation.explorer.consumercommon.validation.TxIndex Maven / Gradle / Ivy

package org.cardanofoundation.explorer.consumercommon.validation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import jakarta.validation.Constraint;
import jakarta.validation.Payload;

@Target({ ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = TxIndexValidator.class)
@Documented
public @interface TxIndex {
  String message() default "The value must be TxIndex";

  Class[] groups() default { };

  Class[] payload() default { };
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy