Merge branch 'master' into lttng-luna
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfExperimentStub.java
CommitLineData
9e0640dc 1/*******************************************************************************
61759503 2 * Copyright (c) 2012, 2013 Ericsson
9b749023 3 *
9e0640dc
FC
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
9b749023 8 *
9e0640dc
FC
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.tests.stubs.trace;
14
2771b032 15import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
9e0640dc
FC
16import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
17import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
18
19/**
20 * <b><u>TmfExperimentStub</u></b>
21 * <p>
22 * Implement me. Please.
23 * <p>
24 */
54a7a54c 25@SuppressWarnings("javadoc")
6256d8ad 26public class TmfExperimentStub extends TmfExperiment {
9e0640dc 27
6256d8ad 28 public TmfExperimentStub(String name, ITmfTrace[] traces, int blockSize) {
2771b032 29 super(ITmfEvent.class, name, traces, blockSize);
9e0640dc
FC
30 setIndexer(new TmfIndexerStub(this, blockSize));
31 }
32
33 @Override
34 public TmfIndexerStub getIndexer() {
35 return (TmfIndexerStub) super.getIndexer();
36 }
37}
This page took 0.039625 seconds and 5 git commands to generate.