1 /**********************************************************************
2 * Copyright (c) 2012 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 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.core
.control
.model
;
14 import java
.util
.List
;
18 * Interface for retrieval of basic trace event information.
21 * @author Bernd Hufmann
23 public interface IBaseEventInfo
extends ITraceInfo
{
26 * @return the trace event type
28 public TraceEventType
getEventType();
31 * Sets the trace event type to the given type
32 * @param type - type to set
34 public void setEventType(TraceEventType type
);
37 * Sets the trace event type to the type specified by the given name.
38 * @param typeName - event type name
40 public void setEventType(String typeName
);
43 * @return the trace event log level
45 public TraceLogLevel
getLogLevel();
48 * Sets the trace event log level to the given level
49 * @param level - event log level to set
51 public void setLogLevel(TraceLogLevel level
);
54 * Sets the trace event log level to the level specified by the given name.
55 * @param levelName - event log level name
57 public void setLogLevel(String levelName
);
60 * Returns the field information (if exists)
61 * @return the field information or null
63 public IFieldInfo
[] getFields();
66 * @param field The field to add
68 public void addField(IFieldInfo field
);
72 * @param fields The fields
74 public void setFields(List
<IFieldInfo
> fields
);
77 * Returns filter expression.
78 * @return filter expression
80 public String
getFilterExpression();
83 * Sets the filter expression.
84 * @param filter The filter expression to set
86 public void setFilterExpression(String filter
);
This page took 0.034713 seconds and 6 git commands to generate.