Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IEnableUstEvents.java
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 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
13
14 import java.util.List;
15
16 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.LogLevelType;
17 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceLogLevel;
18
19 /**
20 * <b><u>IEnableKernelEvents</u></b>
21 * <p>
22 * Interface for providing information about UST events to be enabled.
23 * </p>
24 */
25 public interface IEnableUstEvents {
26
27 // ------------------------------------------------------------------------
28 // Accessors
29 // ------------------------------------------------------------------------
30
31 /**
32 * @return a flag whether the tracepoints shall be configured.
33 */
34 public boolean isTracepoints();
35
36 /**
37 * @return a flag indicating whether all tracepoints shall be enabled or not.
38 */
39 public boolean isAllTracePoints();
40
41 /**
42 * @return a list of event names to be enabled.
43 */
44 public List<String> getEventNames();
45
46 /**
47 * @return a flag whether events using wildcards should be enabled
48 */
49 public boolean isWildcard();
50
51 /**
52 * @return a wildcard
53 */
54 public String getWildcard();
55
56 /**
57 * @return a flag whether events using log levels should be enabled
58 */
59 public boolean isLogLevel();
60
61 /**
62 * @return a log level type (loglevel or loglevel-only)
63 */
64 public LogLevelType getLogLevelType();
65
66 /**
67 * @return a log level
68 */
69 public TraceLogLevel getLogLevel();
70
71 /**
72 * @return a event name for the log level enable action
73 */
74 public String getLogLevelEventName();
75
76 }
This page took 0.032333 seconds and 6 git commands to generate.