pcap: Rename packages to org.eclipse.tracecompass.*
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.core / src / org / eclipse / linuxtools / internal / lttng2 / control / core / model / IEventInfo.java
CommitLineData
eb1bab5b 1/**********************************************************************
54f2dcc0 2 * Copyright (c) 2012, 2014 Ericsson
a6e6f7b4 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 **********************************************************************/
8e8c0226 12package org.eclipse.linuxtools.internal.lttng2.control.core.model;
eb1bab5b
BH
13
14/**
eb1bab5b
BH
15 * <p>
16 * Interface for retrieval of trace event information.
17 * </p>
a6e6f7b4 18 *
dbd4432d 19 * @author Bernd Hufmann
eb1bab5b
BH
20 */
21public interface IEventInfo extends IBaseEventInfo {
22
23 /**
24 * @return the event state (enabled or disabled).
25 */
a6e6f7b4
BH
26 TraceEnablement getState();
27
eb1bab5b
BH
28 /**
29 * Sets the event state (enablement) to the given value.
30 * @param state - state to set.
31 */
a6e6f7b4
BH
32 void setState(TraceEnablement state);
33
eb1bab5b
BH
34 /**
35 * Sets the event state (enablement) to the value specified by the given name.
36 * @param stateName - state to set.
37 */
a6e6f7b4
BH
38 void setState(String stateName);
39
54f2dcc0
BH
40 /**
41 * Returns the log level type.
42 * @return log level type.
43 */
44 LogLevelType getLogLevelType();
45
46 /**
47 * Sets the LogLevelType.
48 * @param type - log level type
49 */
50 void setLogLevelType(LogLevelType type);
51
52 /**
53 * Sets the LogLevelType based on given short name.
54 * @param shortName - short name of type
55 */
56 void setLogLevelType(String shortName);
57
eb1bab5b 58}
This page took 0.050047 seconds and 5 git commands to generate.