1 /**********************************************************************
2 * Copyright (c) 2012, 2014 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.model
;
14 import java
.util
.List
;
16 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.model
.impl
.BufferType
;
20 * Interface for retrieval of trace domain information.
23 * @author Bernd Hufmann
25 public interface IDomainInfo
extends ITraceInfo
{
28 * @return information about all channels
30 IChannelInfo
[] getChannels();
33 * @return information about all loggers
35 List
<ILoggerInfo
> getLoggers();
38 * Sets the channel information specified by given list.
39 * @param channels - all channel information to set.
41 void setChannels(List
<IChannelInfo
> channels
);
44 * Sets the logger information specified by given list.
45 * @param loggers - all loggers information to set.
47 void setLoggers(List
<ILoggerInfo
> loggers
);
51 * Adds a single channel information.
52 * @param channel - channel information to add.
54 void addChannel(IChannelInfo channel
);
57 * @return the domain type ({@link TraceDomainType})
59 TraceDomainType
getDomain();
62 * Sets the domain type.
63 * @param domain - the domain type ({@link TraceDomainType})
65 void setDomain(TraceDomainType domain
);
68 * @return Information about the buffer type
70 BufferType
getBufferType();
73 * Sets the buffer type
78 void setBufferType(BufferType bufferType
);
This page took 0.038632 seconds and 5 git commands to generate.