Class StringNotEmptyValidator
java.lang.Object
com.github.joschi.jadconfig.validators.StringNotEmptyValidator
- Author:
- jschalanda
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringNotEmptyValidator
public StringNotEmptyValidator()
-
-
Method Details
-
validate
Validates if the value value the of provided configuration parameter name is a non-emptyString- Specified by:
validatein interfaceValidator<String>- Parameters:
name- The name of the configuration parametervalue- The value of the configuration validator- Throws:
ValidationException- If the value value configuration parameter name can't be parsed as aStringor is empty.
-