tmf: Do not define base aspects in the interface
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / tracecompass / tmf / tests / stubs / analysis / TestStateSystemModule.java
CommitLineData
8a6ff07f 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2013, 2015 École Polytechnique de Montréal
8a6ff07f
GB
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
2bdf0193 13package org.eclipse.tracecompass.tmf.tests.stubs.analysis;
8a6ff07f 14
d0c7e4ba
AM
15import static org.eclipse.tracecompass.common.core.NonNullUtils.checkNotNull;
16
baa96b1d 17import org.eclipse.jdt.annotation.NonNullByDefault;
2bdf0193
AM
18import org.eclipse.tracecompass.tmf.core.statesystem.ITmfStateProvider;
19import org.eclipse.tracecompass.tmf.core.statesystem.TmfStateSystemAnalysisModule;
8a6ff07f
GB
20
21/**
22 * Test State System module
23 *
24 * @author Geneviève Bastien
25 */
baa96b1d 26@NonNullByDefault
8a6ff07f
GB
27public class TestStateSystemModule extends TmfStateSystemAnalysisModule {
28
29 @Override
baa96b1d 30 protected ITmfStateProvider createStateProvider() {
d0c7e4ba 31 return new TestStateSystemProvider(checkNotNull(getTrace()));
8a6ff07f
GB
32 }
33
34 @Override
35 protected StateSystemBackendType getBackendType() {
36 return StateSystemBackendType.INMEM;
37 }
38
a01f6266
GB
39 /**
40 * Get the name of the backend
41 *
42 * @return The name of the backend used
43 */
44 public String getBackendName() {
45 return StateSystemBackendType.INMEM.name();
46 }
47
8a6ff07f 48}
This page took 0.069236 seconds and 5 git commands to generate.