| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2014 École Polytechnique de Montréal |
| 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 | * Guilliano Molaire - Initial API and implementation |
| 11 | * Mathieu Rail - Initial API and implementation |
| 12 | *******************************************************************************/ |
| 13 | |
| 14 | package org.eclipse.tracecompass.tmf.core.analysis; |
| 15 | |
| 16 | import org.eclipse.jdt.annotation.NonNullByDefault; |
| 17 | |
| 18 | /** |
| 19 | * Interface that provides the necessary methods for an analysis to define its |
| 20 | * requirements. |
| 21 | * |
| 22 | * @author Guilliano Molaire |
| 23 | * @author Mathieu Rail |
| 24 | */ |
| 25 | @NonNullByDefault |
| 26 | public interface IAnalysisRequirementProvider { |
| 27 | |
| 28 | /** |
| 29 | * Gets the requirements associated with this analysis. |
| 30 | * |
| 31 | * @return List of requirement |
| 32 | */ |
| 33 | Iterable<TmfAnalysisRequirement> getAnalysisRequirements(); |
| 34 | } |