1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.signal
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 * Signal sent when the state system has completed its build.
21 * @author Francois Chouinard
23 public class TmfStateSystemBuildCompleted
extends TmfSignal
{
25 private final ITmfTrace fTrace
;
26 private final String fID
;
32 * Object sending this signal
34 * The state system of which trace just finished building
36 * ID associated with this state system. This can be used in the
37 * case of a trace containing multiple state systems, to
38 * differentiate between them.
41 public TmfStateSystemBuildCompleted(Object source
, ITmfTrace trace
, String id
) {
48 * @return The trace referred to by this signal
50 public ITmfTrace
getTrace() {
55 * @return The ID of the state system that just finished building
58 public String
getID() {
63 * @see java.lang.Object#toString()
66 public String
toString() {
67 return "[TmfStateSystemBuildCompleted (trace = " + fTrace
.toString() + //$NON-NLS-1$
68 ", ID = " + fID
+ ")]"; //$NON-NLS-1$ //$NON-NLS-2$