@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface MethodValidated
Scenario: this annotation can be used on interface's method when need to check against group before invoke the method For example:
@MethodValidated({Save.class, Update.class})
void relatedQuery(ValidationParameter parameter);
It means both Save group and Update group are needed to check when method relatedQuery is invoked.
public abstract Class<?>[] value
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.