Class ReadOnlyMapELResolver

java.lang.Object
org.camunda.bpm.impl.juel.jakarta.el.ELResolver
org.camunda.bpm.engine.impl.el.ReadOnlyMapELResolver

public class ReadOnlyMapELResolver extends org.camunda.bpm.impl.juel.jakarta.el.ELResolver
An ELResolver that exposed object values in the map, under the name of the entry's key. The values in the map are only returned when requested property has no 'base', meaning it's a root-object.
Author:
Frederik Heremans
  • Field Details

  • Constructor Details

    • ReadOnlyMapELResolver

      public ReadOnlyMapELResolver(Map<Object,Object> map)
  • Method Details

    • getValue

      public Object getValue(org.camunda.bpm.impl.juel.jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      getValue in class org.camunda.bpm.impl.juel.jakarta.el.ELResolver
    • isReadOnly

      public boolean isReadOnly(org.camunda.bpm.impl.juel.jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      isReadOnly in class org.camunda.bpm.impl.juel.jakarta.el.ELResolver
    • setValue

      public void setValue(org.camunda.bpm.impl.juel.jakarta.el.ELContext context, Object base, Object property, Object value)
      Specified by:
      setValue in class org.camunda.bpm.impl.juel.jakarta.el.ELResolver
    • getCommonPropertyType

      public Class<?> getCommonPropertyType(org.camunda.bpm.impl.juel.jakarta.el.ELContext context, Object arg)
      Specified by:
      getCommonPropertyType in class org.camunda.bpm.impl.juel.jakarta.el.ELResolver
    • getFeatureDescriptors

      public Iterator<FeatureDescriptor> getFeatureDescriptors(org.camunda.bpm.impl.juel.jakarta.el.ELContext context, Object arg)
      Specified by:
      getFeatureDescriptors in class org.camunda.bpm.impl.juel.jakarta.el.ELResolver
    • getType

      public Class<?> getType(org.camunda.bpm.impl.juel.jakarta.el.ELContext context, Object arg1, Object arg2)
      Specified by:
      getType in class org.camunda.bpm.impl.juel.jakarta.el.ELResolver