1 /**********************************************************************
2 * Copyright (c) 2012, 2013 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 * Bernd Hufmann - Updated for support of LTTng Tools 2.1
12 **********************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.dialogs
;
15 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.impl
.TraceSessionGroup
;
19 * Interface for create session dialog.
22 * @author Bernd Hufmann
24 public interface ICreateSessionDialog
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 * @return the session name.
32 String
getSessionName();
35 * @return the session path (null for default path)
37 String
getSessionPath();
40 * @return true for default location else false
42 boolean isDefaultSessionPath();
45 * Initializes the dialog box.
46 * @param group - the session group
48 void initialize(TraceSessionGroup group
);
51 * @return true if traces is to be streamed else false.
53 boolean isStreamedTrace();
56 * Get the network URL in case control and data is configured together otherwise null
57 * If it returns a non-null value, getControlUrl() and getDataUrl() have to return null.
58 * @return The network URL or null.
60 String
getNetworkUrl();
63 * Get the control URL in case control and data is configured separately.
64 * If it returns a non-null value, getDataUrl() has to return a valid value too
65 * and getNetworkUrl() has to return null.
67 * @return The control URL or null.
69 String
getControlUrl();
72 * Get the data URL in case control and data is configured separately.
73 * If it returns a non-null value, getControlUrl() has to return a valid value too
74 * and getNetworkUrl() has to return null.
76 * @return The data URL or null.
81 * @return <code>true</code> if is a snapshot session else <code>false</code>
85 // ------------------------------------------------------------------------
87 // ------------------------------------------------------------------------
89 * @return the open return value
This page took 0.031835 seconds and 5 git commands to generate.