Class AbstractNumericValidator
java.lang.Object
org.camunda.bpm.engine.impl.form.validator.AbstractNumericValidator
- All Implemented Interfaces:
FormFieldValidator
- Direct Known Subclasses:
MaxValidator,MinValidator
- Author:
- Daniel Meyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected abstract booleanprotected abstract booleanprotected abstract booleanprotected abstract booleanbooleanvalidate(Object submittedValue, FormFieldValidatorContext validatorContext) return true if the submitted value is valid for the given form field.protected abstract boolean
-
Constructor Details
-
AbstractNumericValidator
public AbstractNumericValidator()
-
-
Method Details
-
validate
Description copied from interface:FormFieldValidatorreturn true if the submitted value is valid for the given form field.- Specified by:
validatein interfaceFormFieldValidator- Parameters:
submittedValue- the value submitted to the form fieldvalidatorContext- object providing access to additional information useful wile validating the form- Returns:
- true if the value is valid, false otherwise.
-
isNullValid
protected boolean isNullValid() -
validate
-
validate
-
validate
-
validate
-
validate
-