42b25e0dd03482e23793b7b62a52b8cfb520fb5e
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 public TraceEventType
getEventType();
32 * Sets the trace event type to the given type
33 * @param type - type to set
35 public 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 public void setEventType(String typeName
);
44 * @return the trace event log level
46 public TraceLogLevel
getLogLevel();
49 * Sets the trace event log level to the given level
50 * @param level - event log level to set
52 public 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 public void setLogLevel(String levelName
);
61 * Returns the field information (if exists)
62 * @return the field information or null
64 public IFieldInfo
[] getFields();
67 * @param field The field to add
69 public void addField(IFieldInfo field
);
73 * @param fields The fields
75 public void setFields(List
<IFieldInfo
> fields
);
78 * Returns filter expression.
79 * @return filter expression
81 public String
getFilterExpression();
84 * Sets the filter expression.
85 * @param filter The filter expression to set
87 public void setFilterExpression(String filter
);
This page took 0.062258 seconds and 5 git commands to generate.