6f1e6bc655840bbe1e15395e755fbf177d17e5e4
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 * Bernd Hufmann - Updated for support of LTTng Tools 2.1
12 **********************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.lttng2
.core
.control
.model
;
15 import java
.util
.List
;
19 * Interface for retrieval of basic trace event information.
22 * @author Bernd Hufmann
24 public interface IBaseEventInfo
extends ITraceInfo
{
27 * @return the trace event type
29 TraceEventType
getEventType();
32 * Sets the trace event type to the given type
33 * @param type - type to set
35 void setEventType(TraceEventType type
);
38 * Sets the trace event type to the type specified by the given name.
39 * @param typeName - event type name
41 void setEventType(String typeName
);
44 * @return the trace event log level
46 TraceLogLevel
getLogLevel();
49 * Sets the trace event log level to the given level
50 * @param level - event log level to set
52 void setLogLevel(TraceLogLevel level
);
55 * Sets the trace event log level to the level specified by the given name.
56 * @param levelName - event log level name
58 void setLogLevel(String levelName
);
61 * Returns the field information (if exists)
62 * @return the field information or null
64 IFieldInfo
[] getFields();
67 * @param field The field to add
69 void addField(IFieldInfo field
);
73 * @param fields The fields
75 void setFields(List
<IFieldInfo
> fields
);
78 * Returns filter expression.
79 * @return filter expression
81 String
getFilterExpression();
84 * Sets the filter expression.
85 * @param filter The filter expression to set
87 void setFilterExpression(String filter
);
This page took 0.032541 seconds and 5 git commands to generate.