ctf: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.core / src / org / eclipse / tracecompass / internal / lttng2 / control / core / model / IUstProviderInfo.java
CommitLineData
eb1bab5b 1/**********************************************************************
ed902a2b 2 * Copyright (c) 2012, 2014 Ericsson
a6e6f7b4 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
a6e6f7b4
BH
8 *
9 * Contributors:
eb1bab5b
BH
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
9bc60be7 12package org.eclipse.tracecompass.internal.lttng2.control.core.model;
eb1bab5b
BH
13
14import java.util.List;
15
16/**
eb1bab5b
BH
17 * <p>
18 * Interface for retrieval of UST provider information.
19 * </p>
a6e6f7b4 20 *
dbd4432d 21 * @author Bernd Hufmann
eb1bab5b
BH
22 */
23public interface IUstProviderInfo extends ITraceInfo {
a6e6f7b4 24
eb1bab5b
BH
25 /**
26 * @return the process ID of the UST provider.
27 */
a6e6f7b4 28 int getPid();
eb1bab5b
BH
29
30 /**
31 * Sets the process ID of the UST provider to the given value.
32 * @param pid - process ID to set
33 */
a6e6f7b4
BH
34 void setPid(int pid);
35
eb1bab5b
BH
36 /**
37 * @return all event information as array.
38 */
a6e6f7b4
BH
39 IBaseEventInfo[] getEvents();
40
eb1bab5b
BH
41 /**
42 * Sets the event information specified by given list.
43 * @param events - all event information to set.
44 */
a6e6f7b4
BH
45 void setEvents(List<IBaseEventInfo> events);
46
eb1bab5b
BH
47 /**
48 * Adds a single event information.
49 * @param event - event information to add.
50 */
a6e6f7b4 51 void addEvent(IBaseEventInfo event);
eb1bab5b 52}
This page took 0.06135 seconds and 5 git commands to generate.