analysis.lami: Implementation of LAMI plugins
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.lami.core / src / org / eclipse / tracecompass / internal / provisional / analysis / lami / core / module / LamiAnalysisReport.java
1 /*******************************************************************************
2 * Copyright (c) 2015, 2016 EfficiOS Inc., Alexandre Montplaisir
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
10 package org.eclipse.tracecompass.internal.provisional.analysis.lami.core.module;
11
12 import java.util.List;
13
14 import org.eclipse.tracecompass.tmf.core.analysis.ondemand.IOnDemandAnalysisReport;
15
16 import com.google.common.collect.ImmutableList;
17
18 /**
19 * Report generated by LAMI analyses.
20 *
21 * @author Alexandre Montplaisir
22 */
23 public class LamiAnalysisReport implements IOnDemandAnalysisReport {
24
25 private final String fReportName;
26 private final List<LamiResultTable> fTables;
27
28 /**
29 * Constructor
30 *
31 * @param reportName
32 * Name of the report (to be shown in the UI)
33 * @param tables
34 * The result tables that are part of this report
35 */
36 public LamiAnalysisReport(String reportName, List<LamiResultTable> tables) {
37 fReportName = reportName;
38 fTables = ImmutableList.copyOf(tables);
39 }
40
41 @Override
42 public String getName() {
43 return fReportName;
44 }
45
46 /**
47 * Get the result tables of this report
48 *
49 * @return The result tables
50 */
51 public List<LamiResultTable> getTables() {
52 return fTables;
53 }
54
55 }
This page took 0.037978 seconds and 5 git commands to generate.