org.camunda.bpm.engine.impl.form.validator
Class RequiredValidator
java.lang.Object
org.camunda.bpm.engine.impl.form.validator.RequiredValidator
- All Implemented Interfaces:
- FormFieldValidator
public class RequiredValidator
- extends Object
- implements FormFieldValidator
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequiredValidator
public RequiredValidator()
validate
public boolean validate(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 interface FormFieldValidator
- 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.
Copyright © 2017 camunda services GmbH. All rights reserved.