Commit | Line | Data |
---|---|---|
eb1bab5b | 1 | /********************************************************************** |
a6e6f7b4 BH |
2 | * Copyright (c) 2012, 2013 Ericsson |
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 | **********************************************************************/ | |
9315aeee | 12 | package org.eclipse.linuxtools.internal.lttng2.core.control.model; |
eb1bab5b BH |
13 | |
14 | import java.util.List; | |
15 | ||
16 | /** | |
eb1bab5b BH |
17 | * <p> |
18 | * Interface for retrieval of trace domain information. | |
19 | * </p> | |
a6e6f7b4 | 20 | * |
dbd4432d | 21 | * @author Bernd Hufmann |
eb1bab5b | 22 | */ |
eb1bab5b | 23 | public interface IDomainInfo extends ITraceInfo { |
a6e6f7b4 | 24 | |
eb1bab5b | 25 | /** |
a6e6f7b4 | 26 | * @return information about all channels |
eb1bab5b | 27 | */ |
a6e6f7b4 BH |
28 | IChannelInfo[] getChannels(); |
29 | ||
eb1bab5b BH |
30 | /** |
31 | * Sets the channel information specified by given list. | |
32 | * @param channels - all channel information to set. | |
33 | */ | |
a6e6f7b4 BH |
34 | void setChannels(List<IChannelInfo> channels); |
35 | ||
eb1bab5b BH |
36 | /** |
37 | * Adds a single channel information. | |
38 | * @param channel - channel information to add. | |
39 | */ | |
a6e6f7b4 BH |
40 | void addChannel(IChannelInfo channel); |
41 | ||
bbb3538a BH |
42 | /** |
43 | * @return true if domain is kernel, false for UST | |
44 | */ | |
a6e6f7b4 BH |
45 | boolean isKernel(); |
46 | ||
bbb3538a | 47 | /** |
a6e6f7b4 | 48 | * Sets whether domain is Kernel domain or UST |
bbb3538a BH |
49 | * @param isKernel true for kernel, false for UST |
50 | */ | |
a6e6f7b4 | 51 | void setIsKernel(boolean isKernel); |
bbb3538a | 52 | |
eb1bab5b BH |
53 | |
54 | } |