657f8558f8f071a53e2eb2e7447967d91f90d825
[deliverable/tracecompass.git] / org.eclipse.linuxtools.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 * Constructor to specify the parser and indexer. The streaming interval
27 * will be 0.
28 *
29 * @param path
30 * The path to the trace file
31 * @param cacheSize
32 * The cache size
33 * @param waitForCompletion
34 * Do we block the caller until the trace is indexed, or not.
35 * @param parser
36 * The trace parser. If left 'null', it will use a
37 * {@link TmfEventParserStub}.
38 * @throws TmfTraceException
39 * If an error occurred opening the trace
40 */
41 public TmfTraceStub2(final String path,
42 final int cacheSize,
43 final boolean waitForCompletion,
44 final ITmfEventParser parser) throws TmfTraceException {
45 super(path, cacheSize, waitForCompletion, parser);
46 }
47
48 }
This page took 0.03833 seconds and 4 git commands to generate.