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