tmf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfTraceStub2.java
1 /*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.tests.stubs.trace;
14
15 import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
16 import org.eclipse.linuxtools.tmf.core.trace.ITmfEventParser;
17
18 /**
19 * Another stub trace class for unit tests who need more than one stub class.
20 *
21 * @author Geneviève Bastien
22 */
23 public class TmfTraceStub2 extends TmfTraceStub {
24
25 /**
26 * Default constructor
27 */
28 public TmfTraceStub2() {
29 super();
30 }
31
32 /**
33 * Constructor to specify the parser and indexer. The streaming interval
34 * will be 0.
35 *
36 * @param path
37 * The path to the trace file
38 * @param cacheSize
39 * The cache size
40 * @param waitForCompletion
41 * Do we block the caller until the trace is indexed, or not.
42 * @param parser
43 * The trace parser. If left 'null', it will use a
44 * {@link TmfEventParserStub}.
45 * @throws TmfTraceException
46 * If an error occurred opening the trace
47 */
48 public TmfTraceStub2(final String path,
49 final int cacheSize,
50 final boolean waitForCompletion,
51 final ITmfEventParser parser) throws TmfTraceException {
52 super(path, cacheSize, waitForCompletion, parser);
53 }
54
55 }
This page took 0.033277 seconds and 5 git commands to generate.