javax.validation.executable
Annotation Type ValidateExecutable


@Target(value={CONSTRUCTOR,METHOD,TYPE,PACKAGE})
@Retention(value=RUNTIME)
public @interface ValidateExecutable

Expresses which executables (method or constructor) should have their parameters and return value validated upon execution. The settings for a given executable is resolved as followed. A given executable is validated upon execution:

Since:
1.1
Author:
Emmanuel Bernard

Optional Element Summary
 ExecutableType[] value
          List of executable types to be validated when called.
 

value

public abstract ExecutableType[] value
List of executable types to be validated when called. Default to validating all types.

Default:
javax.validation.executable.ExecutableType.ALL


Copyright © 2007-2013. All Rights Reserved.