657f8558f8f071a53e2eb2e7447967d91f90d825
1 /*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.tests
.stubs
.trace
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.exceptions
.TmfTraceException
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfEventParser
;
19 * Another stub trace class for unit tests who need more than one stub class.
21 * @author Geneviève Bastien
23 public class TmfTraceStub2
extends TmfTraceStub
{
26 * Constructor to specify the parser and indexer. The streaming interval
30 * The path to the trace file
33 * @param waitForCompletion
34 * Do we block the caller until the trace is indexed, or not.
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
41 public TmfTraceStub2(final String path
,
43 final boolean waitForCompletion
,
44 final ITmfEventParser parser
) throws TmfTraceException
{
45 super(path
, cacheSize
, waitForCompletion
, parser
);
This page took 0.03833 seconds and 4 git commands to generate.