//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET: //ORIGINAL LINE: @Override public void onUpdate(final VariableInstanceEntity variableInstance, final org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope sourceScope) public virtual void onUpdate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) { if (HistoryLevel.isHistoryEventProduced(HistoryEventTypes.VARIABLE_INSTANCE_UPDATE, variableInstance) && !variableInstance.Transient) { HistoryEventProcessor.processHistoryEvents(new HistoryEventCreatorAnonymousInnerClass3(this, variableInstance, sourceScope)); } }
protected internal override void execute(AbstractVariableScope innerScope, AbstractVariableScope outerScope) { // get value from inner scope object value = valueProvider.getValue(innerScope); LOG.debugMappingValuefromInnerScopeToOuterScope(value, innerScope, name, outerScope); // set variable in outer scope outerScope.setVariable(name, value); }
public VariableEvent(VariableInstance variableInstance, string eventName, AbstractVariableScope sourceScope) { this.variableInstance = variableInstance; this.eventName = eventName; this.sourceScope = sourceScope; }
public virtual void onUpdate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) { }
public virtual void onCreate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) { variableInstance.ConcurrentLocal = !execution.Scope || execution.ExecutingScopeLeafActivity; }
public virtual void debugMappingValuefromInnerScopeToOuterScope(object value, AbstractVariableScope innerScope, string name, AbstractVariableScope outerScope) { logDebug("002", "Mapping value '{}' from inner scope '{}' to variable '{}' in outer scope '{}'.", value, innerScope, name, outerScope); }
public virtual void onDelete(VariableInstanceEntity variable, AbstractVariableScope sourceScope) { variable.delete(); }
public virtual void onCreate(VariableInstanceEntity variable, AbstractVariableScope sourceScope) { VariableInstanceEntity.insert(variable); }
public HistoryEventCreatorAnonymousInnerClass2(VariableInstanceHistoryListener outerInstance, org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) { this.outerInstance = outerInstance; this.variableInstance = variableInstance; this.sourceScope = sourceScope; }
public virtual void onUpdate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) { variableInstance.incrementSequenceCounter(); }
/// <param name="innerScope"> </param> /// <param name="outerScope"> </param> protected internal abstract void execute(AbstractVariableScope innerScope, AbstractVariableScope outerScope);
/// <summary> /// Execute the parameter in a given variable scope. /// </summary> public virtual void execute(AbstractVariableScope scope) { execute(scope, scope.ParentVariableScope); }