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
.lttng2
.core
.control
.model
;
14 import java
.util
.List
;
18 * Interface for retrieval of trace session information.
21 * @author Bernd Hufmann
23 public interface ISessionInfo
extends ITraceInfo
{
26 * @return the session state state (active or inactive).
28 public TraceSessionState
getSessionState();
30 * Sets the session state to the given value.
31 * @param state - state to set.
33 public void setSessionState(TraceSessionState state
);
36 * Sets the event state to the value specified by the given name.
37 * @param stateName - state to set.
39 public void setSessionState(String stateName
);
42 * @return path string where session is located.
44 public String
getSessionPath();
47 * Sets the path string (where session is located) to the given value.
48 * @param path - session path to set.
50 public void setSessionPath(String path
);
53 * @return all domain information as array.
55 public IDomainInfo
[] getDomains();
58 * Sets all domain information specified by given list.
59 * @param domains - all domain information to set.
61 public void setDomains(List
<IDomainInfo
> domains
);
64 * Adds a single domain information.
65 * @param domainInfo domain information to add.
67 public void addDomain(IDomainInfo domainInfo
);
This page took 0.030903 seconds and 5 git commands to generate.