lttng.control : Adding support for the JUL domain in the Control view
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.core / src / org / eclipse / tracecompass / internal / lttng2 / control / core / model / IDomainInfo.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2014 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.tracecompass.internal.lttng2.control.core.model;
13
14 import java.util.List;
15
16 import org.eclipse.tracecompass.internal.lttng2.control.core.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 * @return information about all loggers
34 */
35 List<ILoggerInfo> getLoggers();
36
37 /**
38 * Sets the channel information specified by given list.
39 * @param channels - all channel information to set.
40 */
41 void setChannels(List<IChannelInfo> channels);
42
43 /**
44 * Sets the logger information specified by given list.
45 * @param loggers - all loggers information to set.
46 */
47 void setLoggers(List<ILoggerInfo> loggers);
48
49
50 /**
51 * Adds a single channel information.
52 * @param channel - channel information to add.
53 */
54 void addChannel(IChannelInfo channel);
55
56 /**
57 * @return the domain type ({@link TraceDomainType})
58 */
59 TraceDomainType getDomain();
60
61 /**
62 * Sets the domain type.
63 * @param domain - the domain type ({@link TraceDomainType})
64 */
65 void setDomain(TraceDomainType domain);
66
67 /**
68 * @return Information about the buffer type
69 */
70 BufferType getBufferType();
71
72 /**
73 * Sets the buffer type
74 *
75 * @param bufferType
76 * The buffer type
77 */
78 void setBufferType(BufferType bufferType);
79
80
81 }
This page took 0.038632 seconds and 5 git commands to generate.