Move alltests plugin to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / linuxtools / tmf / core / analysis / IAnalysisOutput.java
CommitLineData
c068a752
GB
1/*******************************************************************************
2 * Copyright (c) 2013 É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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.core.analysis;
14
b6ef1b50
GB
15import org.eclipse.jdt.annotation.NonNull;
16
c068a752
GB
17/**
18 * Interface for all output types of analysis
19 *
20 * @author Geneviève Bastien
21 * @since 3.0
22 */
23public interface IAnalysisOutput {
24
25 /**
26 * Gets the name of the output
27 *
28 * @return Name of the output
29 */
30 String getName();
31
32 /**
33 * Requests the output for an analysis module. This function does not
34 * necessarily output the analysis, it just specifies that the user wants
35 * this output.
36 */
37 void requestOutput();
38
b6ef1b50
GB
39 /**
40 * Sets an arbitrary property on the output. The key must not be null, a
41 * <code>null</code> value removes the property.
42 *
43 * @param key
44 * The arbitrary property. Must not be null.
45 * @param value
46 * The value of the property.
47 * @param immediate
48 * If <code>true</code>, the property will be applied immediately
49 * if the output is active. Otherwise, it is only applied when the
50 * output is explicitly requested by the user.
51 */
52 void setOutputProperty(@NonNull String key, String value, boolean immediate);
53
c068a752 54}
This page took 0.041367 seconds and 5 git commands to generate.