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