ss: Rename packages to org.eclipse.tracecompass.*
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / statesystem / ITmfAnalysisModuleWithStateSystems.java
CommitLineData
5237a931 1/*******************************************************************************
60ae41e1 2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
5237a931
AM
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.core.statesystem;
5237a931 14
cc2ce3e2 15import org.eclipse.jdt.annotation.NonNull;
5237a931 16import org.eclipse.jdt.annotation.Nullable;
e894a508 17import org.eclipse.tracecompass.statesystem.core.ITmfStateSystem;
2bdf0193 18import org.eclipse.tracecompass.tmf.core.analysis.IAnalysisModule;
5237a931
AM
19
20/**
21 * Interface for analysis modules providing state systems.
22 *
23 * @author Geneviève Bastien
24 * @since 3.0
25 */
ff3f02c8 26public interface ITmfAnalysisModuleWithStateSystems extends IAnalysisModule {
5237a931
AM
27
28 /**
29 * Return a specific state system provided by this analysis.
30 *
31 * @param id
32 * The ID of the state system
33 * @return The state system corresponding to the given ID, null if there is
34 * no match.
35 */
36 @Nullable
cc2ce3e2 37 ITmfStateSystem getStateSystem(@NonNull String id);
5237a931 38
5237a931
AM
39 /**
40 * Return all the state systems provided by this analysis module, in
41 * Iterable format.
42 *
43 * @return The state systems
44 */
cd255cab 45 @NonNull
5237a931
AM
46 Iterable<ITmfStateSystem> getStateSystems();
47
48}
This page took 0.044646 seconds and 5 git commands to generate.