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
.lttng
.ui
.views
.control
.service
;
14 import java
.util
.List
;
16 import org
.eclipse
.core
.commands
.ExecutionException
;
17 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
18 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.model
.IBaseEventInfo
;
19 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.model
.ISessionInfo
;
20 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.control
.model
.IUstProviderInfo
;
23 /** <b><u>ILttngControlService</u></b>
25 * Interface for LTTng trace control command service.
28 public interface ILttngControlService
{
30 * Retrieves the existing sessions names from the node.
31 * @return an array with session names.
32 * @throws ExecutionException
34 public String
[] getSessionNames() throws ExecutionException
;
36 * Retrieves the existing sessions names from the node.
37 * @param monitor - a progress monitor
38 * @return an array with session names.
39 * @throws ExecutionException
41 public String
[] getSessionNames(IProgressMonitor monitor
) throws ExecutionException
;
44 * Retrieves the session information with the given name the node.
45 * @param sessionName - the session name
46 * @return session information
47 * @throws ExecutionException
49 public ISessionInfo
getSession(String sessionName
) throws ExecutionException
;
52 * Retrieves the session information with the given name the node.
53 * @param sessionName - the session name
54 * @param monitor - a progress monitor
55 * @return session information
56 * @throws ExecutionException
58 public ISessionInfo
getSession(String sessionName
, IProgressMonitor monitor
) throws ExecutionException
;
61 * Retrieves the kernel provider information (i.e. the kernel events)
62 * @return the list of existing kernel events.
63 * @throws ExecutionException
65 public List
<IBaseEventInfo
> getKernelProvider() throws ExecutionException
;
67 * Retrieves the kernel provider information (i.e. the kernel events)
68 * @param monitor - a progress monitor
69 * @return the list of existing kernel events.
70 * @throws ExecutionException
72 public List
<IBaseEventInfo
> getKernelProvider(IProgressMonitor monitor
) throws ExecutionException
;
75 * Retrieves the UST provider information from the node.
76 * @return - the UST provider information.
77 * @throws ExecutionException
79 public List
<IUstProviderInfo
> getUstProvider() throws ExecutionException
;
81 * Retrieves the UST provider information from the node.
82 * @param monitor - a progress monitor
83 * @return - the UST provider information.
84 * @throws ExecutionException
86 public List
<IUstProviderInfo
> getUstProvider(IProgressMonitor monitor
) throws ExecutionException
;
This page took 0.03254 seconds and 6 git commands to generate.