com.cyngn.vertx.validation.ValidationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-util Show documentation
Show all versions of vertx-util Show documentation
A library for using opentsdb with vert.x
package com.cyngn.vertx.validation;
/**
* Validation Result object for validate method for request objects.
*
* @author [email protected] (Ajay Sarda) 9/8/15.
*/
public class ValidationResult {
public static ValidationResult SUCCESS = new ValidationResult(true, null);
public boolean valid;
public String errorMsg;
public ValidationResult(boolean valid, String errorMsg) {
this.valid = valid;
this.errorMsg = errorMsg;
}
}