This allows to have a kind of priority between the event handlers. It
helps to improve dependency between the event handlers. Now, when
receiving an event E, it is possible that the result of a handler X
depends of the change made by a handler Y on the same event.
Change-Id: I33592e907d4c2f024a46cc365f0bbe796e940049
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/61672
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
package org.eclipse.tracecompass.tmf.analysis.xml.core.stateprovider;
+import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
@NonNull private final String fStateId;
/** List of all Event Handlers */
- private final Set<TmfXmlEventHandler> fEventHandlers = new HashSet<>();
+ private final List<TmfXmlEventHandler> fEventHandlers = new ArrayList<>();
/** List of all Locations */
private final Set<TmfXmlLocation> fLocations;