Package org.camunda.bpm.engine.variable

Examples of org.camunda.bpm.engine.variable.VariableMap.keySet()


  public Map<String, VariableValueDto> getVariables(boolean deserializeValues) {

    VariableMap variables = getVariableEntities(deserializeValues);

    Map<String, VariableValueDto> values = new HashMap<String, VariableValueDto>();
    for (String variableName : variables.keySet()) {
      VariableValueDto valueDto = VariableValueDto.fromTypedValue(variables.getValueTyped(variableName));
      values.put(variableName, valueDto);
    }

    return values;
View Full Code Here


    assertNotNull(untypedNullVariable);
    assertEquals(NULL, untypedNullVariable.getType());
    variables.remove(NULL_VAR_NAME);

    // no type information present
    for (String varName : variables.keySet()) {
      TypedValue typedValue = variables.getValueTyped(varName);
      assertNull(typedValue.getType());
      assertEquals(variables.get(varName), typedValue.getValue());
    }
View Full Code Here

      formFieldHandler.handleSubmit(variableScope, propertiesCopy, properties);
    }

    // any variables passed in which are not handled by form-fields or form
    // properties are added to the process as variables
    for (String propertyId: propertiesCopy.keySet()) {
      variableScope.setVariable(propertyId, propertiesCopy.getValueTyped(propertyId));
    }

    fireFormPropertyHistoryEvents(properties, variableScope);
  }
View Full Code Here

      return false;
    }

    VariableMap argumentMap = (VariableMap) argument;

    boolean containSameKeys = matchers.keySet().containsAll(argumentMap.keySet()) &&
        argumentMap.keySet().containsAll(matchers.keySet());
    if (!containSameKeys) {
      return false;
    }
View Full Code Here

    }

    VariableMap argumentMap = (VariableMap) argument;

    boolean containSameKeys = matchers.keySet().containsAll(argumentMap.keySet()) &&
        argumentMap.keySet().containsAll(matchers.keySet());
    if (!containSameKeys) {
      return false;
    }

    for (String key : argumentMap.keySet()) {
View Full Code Here

        argumentMap.keySet().containsAll(matchers.keySet());
    if (!containSameKeys) {
      return false;
    }

    for (String key : argumentMap.keySet()) {
      Matcher<?> matcher = matchers.get(key);
      if (!matcher.matches(argumentMap.getValueTyped(key))) {
        return false;
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.