org.camunda.bpm.engine.impl.form.handler
Class DefaultFormFieldValidatorContext

java.lang.Object
  extended by org.camunda.bpm.engine.impl.form.handler.DefaultFormFieldValidatorContext
All Implemented Interfaces:
FormFieldValidatorContext

public class DefaultFormFieldValidatorContext
extends Object
implements FormFieldValidatorContext

Author:
Daniel Meyer

Field Summary
protected  String configuration
           
protected  FormFieldHandler formFieldHandler
           
protected  VariableMap submittedValues
           
protected  VariableScope variableScope
           
 
Constructor Summary
DefaultFormFieldValidatorContext(VariableScope variableScope, String configuration, VariableMap submittedValues, FormFieldHandler formFieldHandler)
           
 
Method Summary
 String getConfiguration()
           
 DelegateExecution getExecution()
           
 FormFieldHandler getFormFieldHandler()
           
 Map<String,Object> getSubmittedValues()
           
 VariableScope getVariableScope()
           
 void setConfiguration(String configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variableScope

protected VariableScope variableScope

configuration

protected String configuration

submittedValues

protected VariableMap submittedValues

formFieldHandler

protected FormFieldHandler formFieldHandler
Constructor Detail

DefaultFormFieldValidatorContext

public DefaultFormFieldValidatorContext(VariableScope variableScope,
                                        String configuration,
                                        VariableMap submittedValues,
                                        FormFieldHandler formFieldHandler)
Method Detail

getFormFieldHandler

public FormFieldHandler getFormFieldHandler()
Specified by:
getFormFieldHandler in interface FormFieldValidatorContext

getExecution

public DelegateExecution getExecution()
Specified by:
getExecution in interface FormFieldValidatorContext
Returns:
the execution Deprecated, use FormFieldValidatorContext.getVariableScope()

getVariableScope

public VariableScope getVariableScope()
Specified by:
getVariableScope in interface FormFieldValidatorContext
Returns:
the variable scope in which the value is submitted

getConfiguration

public String getConfiguration()
Specified by:
getConfiguration in interface FormFieldValidatorContext
Returns:
the configuration of this validator

setConfiguration

public void setConfiguration(String configuration)

getSubmittedValues

public Map<String,Object> getSubmittedValues()
Specified by:
getSubmittedValues in interface FormFieldValidatorContext
Returns:
all values submitted in the form


Copyright © 2015 camunda services GmbH. All rights reserved.