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
.ui
.views
.control
.dialogs
;
14 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.impl
.TraceSessionGroup
;
18 * Interface for create session dialog.
21 * @author Bernd Hufmann
23 public interface ICreateSessionDialog
{
25 // ------------------------------------------------------------------------
27 // ------------------------------------------------------------------------
29 * @return the session name.
31 public String
getSessionName();
34 * @return the session path (null for default path)
36 public String
getSessionPath();
39 * @return true for default location else false
41 public boolean isDefaultSessionPath();
44 * Initializes the dialog box.
45 * @param group - the session group
47 public void initialize(TraceSessionGroup group
);
50 * @return true if traces is to be streamed else false.
52 public boolean isStreamedTrace();
55 * Get the network URL in case control and data is configured together otherwise null
56 * If it returns a non-null value, getControlUrl() and getDataUrl() have to return null.
57 * @return The network URL or null.
59 public String
getNetworkUrl();
62 * Get the control URL in case control and data is configured separately.
63 * If it returns a non-null value, getDataUrl() has to return a valid value too
64 * and getNetworkUrl() has to return null.
66 * @return The control URL or null.
68 public String
getControlUrl();
71 * Get the data URL in case control and data is configured separately.
72 * If it returns a non-null value, getControlUrl() has to return a valid value too
73 * and getNetworkUrl() has to return null.
75 * @return The data URL or null.
77 public String
getDataUrl();
80 * @return for not activating a consumer for this session
82 public boolean isNoConsumer();
85 * @return for disabling a consumer for this session
87 public boolean isDisableConsumer();
89 // ------------------------------------------------------------------------
91 // ------------------------------------------------------------------------
93 * @return the open return value
This page took 0.037635 seconds and 5 git commands to generate.