Class VariableContextFake

  • All Implemented Interfaces:
    Supplier<org.camunda.bpm.engine.variable.VariableMap>, org.camunda.bpm.engine.variable.context.VariableContext

    public class VariableContextFake
    extends Object
    implements org.camunda.bpm.engine.variable.context.VariableContext, Supplier<org.camunda.bpm.engine.variable.VariableMap>
    Implementation of VariableContext that internally uses a VariableMap to keep key/value pairs.

    Use add(String, TypedValue) for fluent building.

    • Constructor Detail

      • VariableContextFake

        public VariableContextFake()
    • Method Detail

      • resolve

        public org.camunda.bpm.engine.variable.value.TypedValue resolve​(String key)
        Specified by:
        resolve in interface org.camunda.bpm.engine.variable.context.VariableContext
      • containsVariable

        public boolean containsVariable​(String key)
        Specified by:
        containsVariable in interface org.camunda.bpm.engine.variable.context.VariableContext
      • keySet

        public Set<String> keySet()
        Specified by:
        keySet in interface org.camunda.bpm.engine.variable.context.VariableContext
      • get

        public org.camunda.bpm.engine.variable.VariableMap get()
        Specified by:
        get in interface Supplier<org.camunda.bpm.engine.variable.VariableMap>