
com.plivo.api.validators.MultipleValidIntegers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plivo-java Show documentation
Show all versions of plivo-java Show documentation
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
package com.plivo.api.validators;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.FIELD;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Target({FIELD, PARAMETER})
@Retention(value = RUNTIME)
public @interface MultipleValidIntegers {
/**
* @return error message to return when validation fails
*/
String message() default "value must be either integer or string containing integers separated by delimiter '<' ";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy