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