Commit | Line | Data |
---|---|---|
498704b3 | 1 | /********************************************************************** |
ba3a9bd2 | 2 | * Copyright (c) 2012, 2013 Ericsson |
d4514365 | 3 | * |
498704b3 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 | |
d4514365 BH |
8 | * |
9 | * Contributors: | |
498704b3 | 10 | * Bernd Hufmann - Initial API and implementation |
ba3a9bd2 | 11 | * Bernd Hufmann - Updated for support of LTTng Tools 2.1 |
498704b3 | 12 | **********************************************************************/ |
115b4a01 | 13 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; |
498704b3 BH |
14 | |
15 | import java.util.List; | |
16 | ||
9315aeee BH |
17 | import org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType; |
18 | import org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceLogLevel; | |
ccc66d01 | 19 | |
498704b3 | 20 | /** |
498704b3 | 21 | * <p> |
ccc66d01 | 22 | * Interface for providing information about UST events to be enabled. |
498704b3 | 23 | * </p> |
d4514365 | 24 | * |
dbd4432d | 25 | * @author Bernd Hufmann |
498704b3 | 26 | */ |
ccc66d01 | 27 | public interface IEnableUstEvents { |
498704b3 BH |
28 | |
29 | // ------------------------------------------------------------------------ | |
30 | // Accessors | |
31 | // ------------------------------------------------------------------------ | |
d4514365 | 32 | |
498704b3 | 33 | /** |
ccc66d01 | 34 | * @return a flag whether the tracepoints shall be configured. |
498704b3 | 35 | */ |
ccc66d01 | 36 | public boolean isTracepoints(); |
d4514365 | 37 | |
498704b3 | 38 | /** |
ccc66d01 | 39 | * @return a flag indicating whether all tracepoints shall be enabled or not. |
498704b3 | 40 | */ |
ccc66d01 | 41 | public boolean isAllTracePoints(); |
498704b3 BH |
42 | |
43 | /** | |
44 | * @return a list of event names to be enabled. | |
45 | */ | |
46 | public List<String> getEventNames(); | |
47 | ||
48 | /** | |
ccc66d01 | 49 | * @return a flag whether events using wildcards should be enabled |
498704b3 | 50 | */ |
ccc66d01 | 51 | public boolean isWildcard(); |
498704b3 BH |
52 | |
53 | /** | |
d4514365 | 54 | * @return a wildcard |
498704b3 | 55 | */ |
ccc66d01 | 56 | public String getWildcard(); |
498704b3 BH |
57 | |
58 | /** | |
d4514365 | 59 | * @return a flag whether events using log levels should be enabled |
498704b3 | 60 | */ |
ccc66d01 | 61 | public boolean isLogLevel(); |
498704b3 BH |
62 | |
63 | /** | |
ccc66d01 | 64 | * @return a log level type (loglevel or loglevel-only) |
498704b3 | 65 | */ |
ccc66d01 | 66 | public LogLevelType getLogLevelType(); |
d4514365 | 67 | |
498704b3 | 68 | /** |
ccc66d01 BH |
69 | * @return a log level |
70 | */ | |
71 | public TraceLogLevel getLogLevel(); | |
72 | ||
73 | /** | |
74 | * @return a event name for the log level enable action | |
498704b3 | 75 | */ |
ccc66d01 | 76 | public String getLogLevelEventName(); |
d4514365 BH |
77 | |
78 | /** | |
79 | * @return a filter expression | |
80 | */ | |
81 | public String getFilterExpression(); | |
82 | ||
498704b3 | 83 | } |