1 /*******************************************************************************
2 * Copyright (c) 2013 École Polytechnique de Montréal
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
10 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.analysis
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 * Interface for classes that can provide parameters to analysis when they are
21 * @author Geneviève Bastien
24 public interface IAnalysisParameterProvider
{
26 // --------------------------------------------------------
27 // Getters and setters
28 // --------------------------------------------------------
31 * Gets the name of the parameter provider
33 * @return Name of the parameter provider
38 * Gets the value of a parameter
41 * Name of the parameter
42 * @return The value of a parameter
44 Object
getParameter(String name
);
46 // --------------------------------------------------------
48 // --------------------------------------------------------
51 * Does this parameter provider apply to a given trace
54 * The trace to analyse
55 * @return whether the parameter provider applies
57 boolean appliesToTrace(ITmfTrace trace
);
60 * Register an analysis module to be notified when a parameter value is
64 * The listening analysis module
66 void registerModule(IAnalysisModule module
);