Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ICreateSessionDialog.java')
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ICreateSessionDialog.java58
1 files changed, 49 insertions, 9 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ICreateSessionDialog.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ICreateSessionDialog.java
index 2b429514cd..ef13775818 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ICreateSessionDialog.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ICreateSessionDialog.java
@@ -1,12 +1,12 @@
/**********************************************************************
* Copyright (c) 2012 Ericsson
- *
+ *
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
+ *
+ * Contributors:
* Bernd Hufmann - Initial API and implementation
**********************************************************************/
package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
@@ -17,11 +17,11 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceS
* <p>
* Interface for create session dialog.
* </p>
- *
+ *
* @author Bernd Hufmann
*/
public interface ICreateSessionDialog {
-
+
// ------------------------------------------------------------------------
// Accessors
// ------------------------------------------------------------------------
@@ -34,17 +34,57 @@ public interface ICreateSessionDialog {
* @return the session path (null for default path)
*/
public String getSessionPath();
-
+
/**
* @return true for default location else false
*/
public boolean isDefaultSessionPath();
-
+
/**
- * Set trace session group.
+ * Initializes the dialog box.
* @param group - the session group
*/
- public void setTraceSessionGroup(TraceSessionGroup group);
+ public void initialize(TraceSessionGroup group);
+
+ /**
+ * @return true if traces is to be streamed else false.
+ */
+ public boolean isStreamedTrace();
+
+ /**
+ * Get the network URL in case control and data is configured together otherwise null
+ * If it returns a non-null value, getControlUrl() and getDataUrl() have to return null.
+ * @return The network URL or null.
+ */
+ public String getNetworkUrl();
+
+ /**
+ * Get the control URL in case control and data is configured separately.
+ * If it returns a non-null value, getDataUrl() has to return a valid value too
+ * and getNetworkUrl() has to return null.
+ *
+ * @return The control URL or null.
+ */
+ public String getControlUrl();
+
+ /**
+ * Get the data URL in case control and data is configured separately.
+ * If it returns a non-null value, getControlUrl() has to return a valid value too
+ * and getNetworkUrl() has to return null.
+ *
+ * @return The data URL or null.
+ */
+ public String getDataUrl();
+
+ /**
+ * @return for not activating a consumer for this session
+ */
+ public boolean isNoConsumer();
+
+ /**
+ * @return for disabling a consumer for this session
+ */
+ public boolean isDisableConsumer();
// ------------------------------------------------------------------------
// Operations

Back to the top