~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/IBaseEventInfo.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2012-06-29 12:07:30 UTC
  • Revision ID: package-import@ubuntu.com-20120629120730-bfri1xys1i71dpn6
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

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