Commit | Line | Data |
---|---|---|
eb1bab5b BH |
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 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.model; |
eb1bab5b BH |
13 | |
14 | import java.util.List; | |
15 | ||
16 | /** | |
17 | * <b><u>IUstProviderInfo</u></b> | |
18 | * <p> | |
19 | * Interface for retrieval of UST provider information. | |
20 | * </p> | |
21 | */ | |
22 | public interface IUstProviderInfo extends ITraceInfo { | |
23 | ||
24 | /** | |
25 | * @return the process ID of the UST provider. | |
26 | */ | |
27 | public int getPid(); | |
28 | ||
29 | /** | |
30 | * Sets the process ID of the UST provider to the given value. | |
31 | * @param pid - process ID to set | |
32 | */ | |
33 | public void setPid(int pid); | |
34 | ||
35 | /** | |
36 | * @return all event information as array. | |
37 | */ | |
38 | public IBaseEventInfo[] getEvents(); | |
39 | ||
40 | /** | |
41 | * Sets the event information specified by given list. | |
42 | * @param events - all event information to set. | |
43 | */ | |
44 | public void setEvents(List<IBaseEventInfo> events); | |
45 | ||
46 | /** | |
47 | * Adds a single event information. | |
48 | * @param event - event information to add. | |
49 | */ | |
50 | public void addEvent(IBaseEventInfo event); | |
51 | } |