Commit | Line | Data |
---|---|---|
2fd6b087 JCK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2016 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 | package org.eclipse.tracecompass.tmf.analysis.xml.core.tests.stubs; | |
10 | ||
11 | import java.util.HashSet; | |
12 | ||
13 | import org.eclipse.jdt.annotation.NonNull; | |
14 | import org.eclipse.tracecompass.statesystem.core.ITmfStateSystem; | |
15 | import org.eclipse.tracecompass.tmf.analysis.xml.core.model.TmfXmlLocation; | |
16 | import org.eclipse.tracecompass.tmf.analysis.xml.core.module.IXmlStateSystemContainer; | |
17 | ||
18 | /** | |
19 | * This class is a stub for State system Container. | |
20 | * | |
21 | * @author Jean-Christian Kouame | |
22 | * | |
23 | */ | |
24 | public class StateSystemContainerStub implements IXmlStateSystemContainer { | |
25 | ||
26 | @Override | |
27 | public String getAttributeValue(String name) { | |
28 | return null; | |
29 | } | |
30 | ||
31 | @Override | |
32 | public ITmfStateSystem getStateSystem() { | |
33 | return null; | |
34 | } | |
35 | ||
36 | @Override | |
37 | public @NonNull Iterable<@NonNull TmfXmlLocation> getLocations() { | |
38 | return new HashSet<>(); | |
39 | } | |
40 | } |