Remove all existing @since annotations
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / matching / TmfEventDependency.java
CommitLineData
e73a4ba5 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
e73a4ba5
GB
3 *
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
8 *
9 * Contributors:
10 * Geneviève Bastien - Initial implementation and API
11 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.tmf.core.event.matching;
e73a4ba5 14
2bdf0193 15import org.eclipse.tracecompass.tmf.core.event.ITmfEvent;
e73a4ba5
GB
16
17/**
18 * Represents a dependency (match) between two events, where source event leads
19 * to destination event
20 *
21 * @author Geneviève Bastien
e73a4ba5
GB
22 */
23public class TmfEventDependency {
24
25 private final ITmfEvent fSourceEvent;
26 private final ITmfEvent fDestEvent;
27
28 /**
29 * Constructor
30 *
31 * @param source
32 * The source event of this dependency
33 * @param destination
34 * The destination event of this dependency
35 */
36 public TmfEventDependency(final ITmfEvent source, final ITmfEvent destination) {
37 fSourceEvent = source;
38 fDestEvent = destination;
39 }
40
41 /**
42 * Getter for fSourceEvent
43 *
44 * @return The source event
45 */
46 public ITmfEvent getSourceEvent() {
47 return fSourceEvent;
48 }
49
50 /**
51 * Getter for fDestEvent
52 *
53 * @return the Destination event
54 */
55 public ITmfEvent getDestinationEvent() {
56 return fDestEvent;
57 }
58
59}
This page took 0.053252 seconds and 5 git commands to generate.