Commit | Line | Data |
---|---|---|
f152ca57 FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made 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 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.core.signal; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; | |
16 | ||
17 | /** | |
18 | * Signal sent when the state system has completed its build. | |
19 | * | |
20 | * @version 1.0 | |
21 | * @author Francois Chouinard | |
22 | */ | |
23 | public class TmfStateSystemBuildCompleted extends TmfSignal { | |
24 | ||
25 | private ITmfTrace<?> fTrace; | |
26 | ||
27 | /** | |
28 | * @param source | |
29 | */ | |
30 | public TmfStateSystemBuildCompleted(Object source, ITmfTrace<?> trace) { | |
31 | super(source); | |
32 | fTrace = trace; | |
33 | } | |
34 | ||
35 | /** | |
36 | * @param source | |
37 | */ | |
38 | public ITmfTrace<?> getTrace() { | |
39 | return fTrace; | |
40 | } | |
41 | ||
42 | /* (non-Javadoc) | |
43 | * @see java.lang.Object#toString() | |
44 | */ | |
45 | @Override | |
46 | @SuppressWarnings("nls") | |
47 | public String toString() { | |
48 | return "[TmfStateSystemBuildCompleted (" + fTrace.toString() + ")]"; | |
49 | } | |
50 | ||
51 | } |