public class VariableListenerInvocationListener extends Object implements VariableInstanceLifecycleListener<VariableInstanceEntity>
Modifier and Type | Field and Description |
---|---|
protected AbstractVariableScope |
targetScope |
Constructor and Description |
---|
VariableListenerInvocationListener(AbstractVariableScope targetScope) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEventToScopeExecution(ExecutionEntity sourceScope,
VariableEvent event) |
protected void |
handleEvent(VariableEvent event) |
void |
onCreate(VariableInstanceEntity variable,
AbstractVariableScope sourceScope) |
void |
onDelete(VariableInstanceEntity variable,
AbstractVariableScope sourceScope) |
void |
onUpdate(VariableInstanceEntity variable,
AbstractVariableScope sourceScope) |
protected final AbstractVariableScope targetScope
public VariableListenerInvocationListener(AbstractVariableScope targetScope)
public void onCreate(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
onCreate
in interface VariableInstanceLifecycleListener<VariableInstanceEntity>
public void onUpdate(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
onUpdate
in interface VariableInstanceLifecycleListener<VariableInstanceEntity>
public void onDelete(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
onDelete
in interface VariableInstanceLifecycleListener<VariableInstanceEntity>
protected void handleEvent(VariableEvent event)
protected void addEventToScopeExecution(ExecutionEntity sourceScope, VariableEvent event)
Copyright © 2019. All rights reserved.