lttng: fix sonar warnings about redundant modifier in interfaces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.core / src / org / eclipse / linuxtools / internal / lttng2 / core / control / model / IBaseEventInfo.java
CommitLineData
eb1bab5b 1/**********************************************************************
ba3a9bd2 2 * Copyright (c) 2012, 2013 Ericsson
d4514365 3 *
eb1bab5b
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:
eb1bab5b 10 * Bernd Hufmann - Initial API and implementation
ba3a9bd2 11 * Bernd Hufmann - Updated for support of LTTng Tools 2.1
eb1bab5b 12 **********************************************************************/
9315aeee 13package org.eclipse.linuxtools.internal.lttng2.core.control.model;
eb1bab5b 14
d4514365
BH
15import java.util.List;
16
eb1bab5b 17/**
eb1bab5b
BH
18 * <p>
19 * Interface for retrieval of basic trace event information.
20 * </p>
d4514365 21 *
dbd4432d 22 * @author Bernd Hufmann
eb1bab5b
BH
23 */
24public interface IBaseEventInfo extends ITraceInfo {
25
26 /**
27 * @return the trace event type
28 */
a6e6f7b4 29 TraceEventType getEventType();
d4514365 30
eb1bab5b 31 /**
d4514365 32 * Sets the trace event type to the given type
eb1bab5b
BH
33 * @param type - type to set
34 */
a6e6f7b4 35 void setEventType(TraceEventType type);
d4514365 36
eb1bab5b
BH
37 /**
38 * Sets the trace event type to the type specified by the given name.
39 * @param typeName - event type name
40 */
a6e6f7b4 41 void setEventType(String typeName);
d4514365 42
eb1bab5b
BH
43 /**
44 * @return the trace event log level
45 */
a6e6f7b4 46 TraceLogLevel getLogLevel();
d4514365 47
eb1bab5b 48 /**
d4514365 49 * Sets the trace event log level to the given level
eb1bab5b
BH
50 * @param level - event log level to set
51 */
a6e6f7b4 52 void setLogLevel(TraceLogLevel level);
d4514365 53
eb1bab5b
BH
54 /**
55 * Sets the trace event log level to the level specified by the given name.
56 * @param levelName - event log level name
57 */
a6e6f7b4 58 void setLogLevel(String levelName);
eb1bab5b 59
d4514365
BH
60 /**
61 * Returns the field information (if exists)
62 * @return the field information or null
63 */
a6e6f7b4 64 IFieldInfo[] getFields();
d4514365
BH
65
66 /**
67 * @param field The field to add
68 */
a6e6f7b4 69 void addField(IFieldInfo field);
d4514365
BH
70
71 /**
72 * Sets the fields
73 * @param fields The fields
74 */
a6e6f7b4 75 void setFields(List<IFieldInfo> fields);
d4514365
BH
76
77 /**
78 * Returns filter expression.
79 * @return filter expression
80 */
a6e6f7b4 81 String getFilterExpression();
d4514365
BH
82
83 /**
84 * Sets the filter expression.
85 * @param filter The filter expression to set
86 */
a6e6f7b4 87 void setFilterExpression(String filter);
d4514365 88
eb1bab5b 89}
This page took 0.038091 seconds and 5 git commands to generate.