@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Validation
| Modifier and Type | Required Element and Description |
|---|---|
String[] |
path
Path(s) for which the validation will apply
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
onCreate
If true, the method will execute on create.
|
boolean |
onUpdate
If true, the method will execute on update.
|
boolean |
required
On create, indicates whether the validation must execute if the path is absent.
|
boolean |
skipOnErrors
If Errors exist for the request and true, the validation may be skipped.
|
public abstract String[] path
public abstract boolean required
public abstract boolean onCreate
public abstract boolean onUpdate
public abstract boolean skipOnErrors
Copyright © 2018. All rights reserved.