Commit | Line | Data |
---|---|---|
9e0640dc FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
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 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.tests.stubs.trace; | |
14 | ||
15 | import java.util.List; | |
16 | ||
17 | import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; | |
3427112b | 18 | import org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint; |
9e0640dc | 19 | import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; |
9e0640dc FC |
20 | import org.eclipse.linuxtools.tmf.core.trace.TmfCheckpointIndexer; |
21 | ||
22 | /** | |
23 | * <b><u>TmfIndexerStub</u></b> | |
24 | * <p> | |
25 | * Implement me. Please. | |
26 | * <p> | |
27 | */ | |
28 | public class TmfIndexerStub extends TmfCheckpointIndexer<ITmfTrace<ITmfEvent>> { | |
29 | ||
30 | @SuppressWarnings({ "rawtypes", "unchecked" }) | |
31 | public TmfIndexerStub(ITmfTrace trace, int blockSize) { | |
32 | super(trace, blockSize); | |
33 | } | |
34 | ||
3427112b | 35 | public List<ITmfCheckpoint> getCheckpoints() { |
9e0640dc FC |
36 | return getTraceIndex(); |
37 | } | |
38 | ||
39 | } |