@Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,METHOD,FIELD}) public @interface ImageSize
ImageAdjust
mode.ImageSizeConstraint
Modifier and Type | Required Element and Description |
---|---|
int |
maxHeight |
int |
maxWidth |
Modifier and Type | Optional Element and Description |
---|---|
ImageAdjust |
adjust |
String[] |
groups |
String |
message |
ValidationTarget[] |
targets |
public abstract ImageAdjust adjust
public abstract String message
public abstract String[] groups
public abstract ValidationTarget[] targets
ValidationTarget.VALUE
will be used by default.Copyright © 2011–2020 FoxLabs. All rights reserved.