Package org.camunda.bpm.engine.delegate

Examples of org.camunda.bpm.engine.delegate.SerializedVariableValue


    return variable;
  }

  public void setVariableInstanceValue(PersistentVariableInstance variableInstance, Object value, CoreVariableScope<PersistentVariableInstance> sourceActivityExecution) {
    if(value != null && value instanceof SerializedVariableValue) {
      SerializedVariableValue serializedVariableValue = (SerializedVariableValue) value;
      setVariableInstanceValueFromSerialized(variableInstance,
          serializedVariableValue.getValue(),
          ProcessEngineVariableType.SPIN.getName(),
          serializedVariableValue.getConfig(),
          sourceActivityExecution);

    } else {
      VariableInstanceEntity variableInstanceEntity = (VariableInstanceEntity) variableInstance;
View Full Code Here


    return variableInstance.isAbleToStoreSerializedValue(serializedValue, configuration);
  }

  public PersistentVariableInstance createVariableInstance(String variableName, Object value, CoreVariableScope<PersistentVariableInstance> sourceActivityExecution) {
    if(value != null && value instanceof SerializedVariableValue) {
      SerializedVariableValue serializedVariableValue = (SerializedVariableValue) value;
      return createVariableInstanceFromSerialized(variableName,
          serializedVariableValue.getValue(),
          ProcessEngineVariableType.SPIN.getName(),
          serializedVariableValue.getConfig(),
          sourceActivityExecution);

    } else {
      VariableType type = getVariableTypeForValue(value);
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.delegate.SerializedVariableValue

Copyright © 2018 www.massapicom. 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.