1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Geneviève Bastien - Initial implementation and API
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.event
.matching
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
18 * Represents a dependency (match) between two events, where source event leads
19 * to destination event
21 * @author Geneviève Bastien
23 public class TmfEventDependency
{
25 private final ITmfEvent fSourceEvent
;
26 private final ITmfEvent fDestEvent
;
32 * The source event of this dependency
34 * The destination event of this dependency
36 public TmfEventDependency(final ITmfEvent source
, final ITmfEvent destination
) {
37 fSourceEvent
= source
;
38 fDestEvent
= destination
;
42 * Getter for fSourceEvent
44 * @return The source event
46 public ITmfEvent
getSourceEvent() {
51 * Getter for fDestEvent
53 * @return the Destination event
55 public ITmfEvent
getDestinationEvent() {
This page took 0.034628 seconds and 5 git commands to generate.