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
{
28 public TmfTraceStub2() {
33 * Constructor to specify the parser and indexer. The streaming interval
37 * The path to the trace file
40 * @param waitForCompletion
41 * Do we block the caller until the trace is indexed, or not.
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
48 public TmfTraceStub2(final String path
,
50 final boolean waitForCompletion
,
51 final ITmfEventParser parser
) throws TmfTraceException
{
52 super(path
, cacheSize
, waitForCompletion
, parser
);
This page took 0.03241 seconds and 5 git commands to generate.