Commit | Line | Data |
---|---|---|
eb1bab5b 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 | 12 | package org.eclipse.linuxtools.internal.lttng.ui.views.control.model; |
eb1bab5b BH |
13 | |
14 | /** | |
15 | * <b><u>IBaseEventInfo</u></b> | |
16 | * <p> | |
17 | * Interface for retrieval of basic trace event information. | |
18 | * </p> | |
19 | */ | |
20 | public interface IBaseEventInfo extends ITraceInfo { | |
21 | ||
22 | /** | |
23 | * @return the trace event type | |
24 | */ | |
25 | public TraceEventType getEventType(); | |
26 | ||
27 | /** | |
28 | * Sets the trace event type to the given type | |
29 | * @param type - type to set | |
30 | */ | |
31 | public void setEventType(TraceEventType type); | |
32 | ||
33 | /** | |
34 | * Sets the trace event type to the type specified by the given name. | |
35 | * @param typeName - event type name | |
36 | */ | |
37 | public void setEventType(String typeName); | |
38 | ||
39 | /** | |
40 | * @return the trace event log level | |
41 | */ | |
42 | public TraceLogLevel getLogLevel(); | |
43 | ||
44 | /** | |
45 | * Sets the trace event log level to the given level | |
46 | * @param level - event log level to set | |
47 | */ | |
48 | public void setLogLevel(TraceLogLevel level); | |
49 | ||
50 | /** | |
51 | * Sets the trace event log level to the level specified by the given name. | |
52 | * @param levelName - event log level name | |
53 | */ | |
54 | public void setLogLevel(String levelName); | |
55 | ||
56 | ||
57 | } |