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

com.plivo.api.validators.UrlValues Maven / Gradle / Ivy

Go to download

A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML

There is a newer version: 5.44.3
Show newest version
package com.plivo.api.validators;

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

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target({FIELD, PARAMETER})
@Retention(value = RUNTIME)
public @interface UrlValues {
  /**
   * @return error message to return when validation fails
   */
  String message() default "is not a valid URL";

  /**
   * @return array of possible options
   */
  String[] options() default {};

  /**
   * @return caseSensitive of possible options
   */
  boolean caseSensitive() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy