Class ReadOnlyValidator
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.validator.ReadOnlyValidator
-
- All Implemented Interfaces:
FormFieldValidator
public class ReadOnlyValidator extends java.lang.Object implements FormFieldValidator
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(java.lang.Object submittedValue, FormFieldValidatorContext validatorContext)
return true if the submitted value is valid for the given form field.
-
-
-
Method Detail
-
validate
public boolean validate(java.lang.Object submittedValue, FormFieldValidatorContext validatorContext)
Description copied from interface:FormFieldValidator
return true if the submitted value is valid for the given form field.- Specified by:
validate
in 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.
-
-