public class CompareModelHelper
extends java.lang.Object
BEGIN DUMPING MODEL: LEFT MODEL ACTIVITY: ROOT [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: B [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: D [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: C [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: A [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: A-1 [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: A-1-1 [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: A-1-2 [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] END DUMPING MODEL: LEFT MODEL BEGIN DUMPING MODEL: RIGHT MODEL ACTIVITY: ROOT [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 10:00:00 AM] ACTIVITY: B [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: D [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: C [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 10:00:00 AM] ACTIVITY: E [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: E-1 [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: E-1-1 [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] ACTIVITY: E-1-2 [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] END DUMPING MODEL: RIGHT MODEL Now show how the 2 models are processed ================================= COMMON: ROOT; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 10:00:00 AM] BEGIN CHILDREN LEFT ONLY: A; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] LEFT ONLY: A-1; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] LEFT ONLY: A-1-1; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] LEFT ONLY: A-1-2; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] COMMON: B; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] COMMON MODIFIED: C; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 10:00:00 AM] BEGIN CHILDREN LEFT MODIFIED: C; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] RIGHT MODIFIED: C; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 10:00:00 AM] END CHILDREN COMMON: D; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] RIGHT ONLY: E; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] RIGHT ONLY: E-1; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] RIGHT ONLY: E-1-1; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] RIGHT ONLY: E-1-2; [Jan 16, 2016 7:00:00 AM - Jan 16, 2016 9:00:00 AM] END CHILDREN
Modifier and Type | Class and Description |
---|---|
static interface |
CompareModelHelper.ModelHelper
Model Helper is used to do some node comparisons in the model
|
static interface |
CompareModelHelper.NodeEmitter
Node handler interface for compared models
|
Constructor and Description |
---|
CompareModelHelper(MXGanttModel leftModelFuture,
MXGanttModel rightModelFuture,
CompareModelHelper.NodeEmitter nodeEmitter,
CompareModelHelper.ModelHelper helper)
Creates a Helper using 2 future models (left and right conceptually).
|
Modifier and Type | Method and Description |
---|---|
void |
processModels()
Processes the 2 gantt models and will emit node events to the node emitter.
|
public CompareModelHelper(MXGanttModel leftModelFuture, MXGanttModel rightModelFuture, CompareModelHelper.NodeEmitter nodeEmitter, CompareModelHelper.ModelHelper helper)
leftModelFuture
- rightModelFuture
- nodeEmitter
-