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