Commit | Line | Data |
---|---|---|
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 | **********************************************************************/ | |
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> |
dbd4432d BH |
23 | * |
24 | * @author Bernd Hufmann | |
498704b3 | 25 | */ |
ccc66d01 | 26 | public interface IEnableUstEvents { |
498704b3 BH |
27 | |
28 | // ------------------------------------------------------------------------ | |
29 | // Accessors | |
30 | // ------------------------------------------------------------------------ | |
31 | ||
32 | /** | |
ccc66d01 | 33 | * @return a flag whether the tracepoints shall be configured. |
498704b3 | 34 | */ |
ccc66d01 BH |
35 | public boolean isTracepoints(); |
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 | /** | |
ccc66d01 | 53 | * @return a wildcard |
498704b3 | 54 | */ |
ccc66d01 | 55 | public String getWildcard(); |
498704b3 BH |
56 | |
57 | /** | |
ccc66d01 | 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(); |
498704b3 | 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 BH |
75 | public String getLogLevelEventName(); |
76 | ||
498704b3 | 77 | } |