Annotation Type ValidPort
@Documented
@Retention(RUNTIME)
@Target({FIELD,PARAMETER})
@Constraint(ValidPortValidator.class)
public @interface ValidPort
Indicates that a plugin attribute must be a valid port number. A valid port number is an integer between 0 and
65535.
- Since:
- 2.8
-
Optional Element Summary
-
Element Details
-
message
String messageThe message to be logged if this constraint is violated. This should normally be overridden.- Default:
- "The port number is invalid"
-