~ubuntu-branches/ubuntu/utopic/eclipse-linuxtools/utopic

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/IDomainInfo.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2014-05-12 18:11:40 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140512181140-w237r3vsah1tmybz
Tags: 2.2.1-1
* New upstream release.
* Refreshed d/patches.
* Removed eclipse-cdt-valgrind-remote package, all its functionality
  is now provided by eclipse-cdt-profiling-framework-remote.
* Added remove-license-feature.patch.
* Bump Standards-Version to 3.9.5.
* Enable eclipse-changelog package.
* Enable eclipse-rpm-editor package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**********************************************************************
2
 
 * Copyright (c) 2012 Ericsson
3
 
 * 
 
2
 * Copyright (c) 2012, 2013 Ericsson
 
3
 *
4
4
 * All rights reserved. This program and the accompanying materials are
5
5
 * made available under the terms of the Eclipse Public License v1.0 which
6
6
 * accompanies this distribution, and is available at
7
7
 * http://www.eclipse.org/legal/epl-v10.html
8
 
 * 
9
 
 * Contributors: 
 
8
 *
 
9
 * Contributors:
10
10
 *   Bernd Hufmann - Initial API and implementation
11
11
 **********************************************************************/
12
12
package org.eclipse.linuxtools.internal.lttng2.core.control.model;
13
13
 
14
14
import java.util.List;
15
15
 
 
16
import org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.BufferType;
 
17
 
16
18
/**
17
19
 * <p>
18
20
 * Interface for retrieval of trace domain information.
19
21
 * </p>
20
 
 * 
 
22
 *
21
23
 * @author Bernd Hufmann
22
24
 */
23
25
public interface IDomainInfo extends ITraceInfo {
24
 
    
 
26
 
25
27
    /**
26
 
     * @return information about all channels  
 
28
     * @return information about all channels
27
29
     */
28
 
    public IChannelInfo[] getChannels();
29
 
    
 
30
    IChannelInfo[] getChannels();
 
31
 
30
32
    /**
31
33
     * Sets the channel information specified by given list.
32
34
     * @param channels - all channel information to set.
33
35
     */
34
 
    public void setChannels(List<IChannelInfo> channels);
35
 
    
 
36
    void setChannels(List<IChannelInfo> channels);
 
37
 
36
38
    /**
37
39
     * Adds a single channel information.
38
40
     * @param channel - channel information to add.
39
41
     */
40
 
    public void addChannel(IChannelInfo channel);
41
 
    
 
42
    void addChannel(IChannelInfo channel);
 
43
 
42
44
    /**
43
45
     * @return true if domain is kernel, false for UST
44
46
     */
45
 
    public boolean isKernel();
46
 
    
 
47
    boolean isKernel();
 
48
 
47
49
    /**
48
 
     * Sets whether domain is  Kernel domain or UST 
 
50
     * Sets whether domain is  Kernel domain or UST
49
51
     * @param isKernel true for kernel, false for UST
50
52
     */
51
 
    public void setIsKernel(boolean isKernel);
 
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);
52
67
 
53
68
 
54
69
}