All checks were successful
DCO / DCO (pull_request) Successful in 34s
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
14 lines
441 B
Java
14 lines
441 B
Java
package info.frostfs.sdk.annotations;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
|
|
public @interface AtLeastOneIsFilled {
|
|
String message() default "At least one of the fields (%s) must be filled in";
|
|
|
|
String[] fields();
|
|
}
|