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
.lttng
.ui
.views
.control
.model
;
14 import java
.util
.List
;
17 * <b><u>ISessionInfo</u></b>
19 * Interface for retrieval of trace session information.
22 public interface ISessionInfo
extends ITraceInfo
{
25 * @return the session state state (active or inactive).
27 public TraceSessionState
getSessionState();
29 * Sets the session state to the given value.
30 * @param state - state to set.
32 public void setSessionState(TraceSessionState state
);
35 * Sets the event state to the value specified by the given name.
36 * @param stateName - state to set.
38 public void setSessionState(String stateName
);
41 * @return path string where session is located.
43 public String
getSessionPath();
46 * Sets the path string (where session is located) to the given value.
47 * @param path - session path to set.
49 public void setSessionPath(String path
);
52 * @return all domain information as array.
54 public IDomainInfo
[] getDomains();
57 * Sets all domain information specified by given list.
58 * @param domains - all domain information to set.
60 public void setDomains(List
<IDomainInfo
> domains
);
63 * Adds a single domain information.
64 * @param domain - domain information to add.
66 public void addDomain(IDomainInfo domainInfo
);
This page took 0.032753 seconds and 6 git commands to generate.