Class DefaultFormFieldValidatorContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.handler.DefaultFormFieldValidatorContext
-
- All Implemented Interfaces:
FormFieldValidatorContext
public class DefaultFormFieldValidatorContext extends java.lang.Object implements FormFieldValidatorContext
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
configuration
protected FormFieldHandler
formFieldHandler
protected VariableMap
submittedValues
protected VariableScope
variableScope
-
Constructor Summary
Constructors Constructor Description DefaultFormFieldValidatorContext(VariableScope variableScope, java.lang.String configuration, VariableMap submittedValues, FormFieldHandler formFieldHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfiguration()
DelegateExecution
getExecution()
FormFieldHandler
getFormFieldHandler()
java.util.Map<java.lang.String,java.lang.Object>
getSubmittedValues()
VariableScope
getVariableScope()
void
setConfiguration(java.lang.String configuration)
-
-
-
Field Detail
-
variableScope
protected VariableScope variableScope
-
configuration
protected java.lang.String configuration
-
submittedValues
protected VariableMap submittedValues
-
formFieldHandler
protected FormFieldHandler formFieldHandler
-
-
Constructor Detail
-
DefaultFormFieldValidatorContext
public DefaultFormFieldValidatorContext(VariableScope variableScope, java.lang.String configuration, VariableMap submittedValues, FormFieldHandler formFieldHandler)
-
-
Method Detail
-
getFormFieldHandler
public FormFieldHandler getFormFieldHandler()
- Specified by:
getFormFieldHandler
in interfaceFormFieldValidatorContext
-
getExecution
public DelegateExecution getExecution()
- Specified by:
getExecution
in interfaceFormFieldValidatorContext
- Returns:
- the execution
Deprecated, use
FormFieldValidatorContext.getVariableScope()
-
getVariableScope
public VariableScope getVariableScope()
- Specified by:
getVariableScope
in interfaceFormFieldValidatorContext
- Returns:
- the variable scope in which the value is submitted
-
getConfiguration
public java.lang.String getConfiguration()
- Specified by:
getConfiguration
in interfaceFormFieldValidatorContext
- Returns:
- the configuration of this validator
-
setConfiguration
public void setConfiguration(java.lang.String configuration)
-
getSubmittedValues
public java.util.Map<java.lang.String,java.lang.Object> getSubmittedValues()
- Specified by:
getSubmittedValues
in interfaceFormFieldValidatorContext
- Returns:
- all values submitted in the form
-
-