Groovy Documentation

org.linkedin.glu.orchestration.engine.delta
[Java] Interface DeltaMgr


public interface DeltaMgr

Authors:
yan@pongasoft.com


Method Summary
SystemModelDelta computeDelta(SystemModel expectedModel, SystemModel currentModel, DeltaSystemModelFilter filter)

Computes the delta between the 2 models

java.util.Collection computeDeltas(SystemModel expectedModel, SystemModel currentModel, java.util.Collection toStates, DeltaSystemModelFilter filter)

Computes N deltas to go from state to state.

 

Method Detail

computeDelta

public SystemModelDelta computeDelta(SystemModel expectedModel, SystemModel currentModel, DeltaSystemModelFilter filter)
Computes the delta between the 2 models


computeDeltas

public java.util.Collection computeDeltas(SystemModel expectedModel, SystemModel currentModel, java.util.Collection toStates, DeltaSystemModelFilter filter)
Computes N deltas to go from state to state. If state==null it means empty system, if state== it means expectedModel.
Returns:
a collection of deltas (same size as toStates)


 

Groovy Documentation