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

io.convergence_platform.common.validations.StringNotEndsWith Maven / Gradle / Ivy

Go to download

Holds the common functionality needed by all Convergence Platform-based services written in Java.

The newest version!
package io.convergence_platform.common.validations;

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 = StringNotEndsWithValidator.class)
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface StringNotEndsWith {
    String value();

    String message() default "Failing to pass validation: 'string_not_end_with'";

    Class[] groups() default {};

    Class[] payload() default {};

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy