Commit | Line | Data |
---|---|---|
b3b03da0 | 1 | /******************************************************************************* |
60ae41e1 | 2 | * Copyright (c) 2013, 2014 École Polytechnique de Montréal |
b3b03da0 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 | 13 | package org.eclipse.tracecompass.tmf.core.analysis; |
b3b03da0 GB |
14 | |
15 | ||
16 | /** | |
17 | * Interface that module sources must implement. A module source provides a list | |
18 | * of analysis modules. For example, one module source would be the plugin's | |
19 | * configuration element through the analysis extension point. | |
20 | * | |
21 | * Typically, for each module source, there would be an | |
22 | * {@link IAnalysisModuleHelper} implementation to create modules from this | |
23 | * source. | |
24 | * | |
25 | * @author Geneviève Bastien | |
b3b03da0 GB |
26 | */ |
27 | public interface IAnalysisModuleSource { | |
28 | ||
29 | /** | |
30 | * Get the list of modules helpers provided by this source | |
31 | * | |
32 | * @return The analysis module helpers in iterable format | |
33 | */ | |
34 | Iterable<IAnalysisModuleHelper> getAnalysisModules(); | |
35 | ||
36 | } |