lttng: Add a diagram showing the dependencies between plugins
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.core / src / org / eclipse / linuxtools / internal / lttng2 / core / control / model / IDomainInfo.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
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 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.core.control.model;
13
14 import java.util.List;
15
16 import org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.BufferType;
17
18 /**
19 * <p>
20 * Interface for retrieval of trace domain information.
21 * </p>
22 *
23 * @author Bernd Hufmann
24 */
25 public interface IDomainInfo extends ITraceInfo {
26
27 /**
28 * @return information about all channels
29 */
30 IChannelInfo[] getChannels();
31
32 /**
33 * Sets the channel information specified by given list.
34 * @param channels - all channel information to set.
35 */
36 void setChannels(List<IChannelInfo> channels);
37
38 /**
39 * Adds a single channel information.
40 * @param channel - channel information to add.
41 */
42 void addChannel(IChannelInfo channel);
43
44 /**
45 * @return true if domain is kernel, false for UST
46 */
47 boolean isKernel();
48
49 /**
50 * Sets whether domain is Kernel domain or UST
51 * @param isKernel true for kernel, false for UST
52 */
53 void setIsKernel(boolean isKernel);
54
55 /**
56 * @return Information about the buffer type
57 */
58 BufferType getBufferType();
59
60 /**
61 * Sets the buffer type
62 *
63 * @param bufferType
64 * The buffer type
65 */
66 void setBufferType(BufferType bufferType);
67
68
69 }
This page took 0.05317 seconds and 5 git commands to generate.