mirror of https://github.com/apache/cloudstack.git
api: Fix Validator annotation interface
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
e397f23f6b
commit
c4b600a8d1
|
|
@ -25,6 +25,6 @@ import java.lang.annotation.Target;
|
|||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ FIELD })
|
||||
public @interface Validator {
|
||||
String DBEntityValidator();
|
||||
String RangeValidator();
|
||||
Class<?>[] validators() default Object.class;
|
||||
String description() default "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue