lttng: Move createSession parameters into SessionInfo class
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / service / ILttngControlService.java
index b24bbf91dbcb40097f9c8b2ac621221f194bbed8..c1e3c601bbef779e0a3ed72dced2736d7ae16dd7 100644 (file)
@@ -122,41 +122,16 @@ public interface ILttngControlService {
     /**
      * Creates a session with given session name and location.
      *
-     * @param sessionName
-     *            - a session name to create
-     * @param sessionPath
-     *            - a path for storing the traces (use null for default)
-     * @param isSnapshot
-     *            - true for snapshot session else false
+     * @param sessionInfo
+     *            the session information used to create the session
      * @param monitor
      *            - a progress monitor
-     * @return the session information
-     * @throws ExecutionException
-     *             If the command fails
-     */
-    ISessionInfo createSession(String sessionName, String sessionPath, boolean isSnapshot, IProgressMonitor monitor) throws ExecutionException;
-
-    /**
-     * Creates a session with given session name and location.
      *
-     * @param sessionName
-     *            - a session name to create
-     * @param networkUrl
-     *            - a network URL for common definition of data and control channel
-     *              or null if separate definition of data and control channel
-     * @param controlUrl
-     *            - a URL for control channel (networkUrl has to be null, dataUrl has to be set)
-     * @param dataUrl
-     *            - a URL for data channel (networkUrl has to be null, controlUrl has to be set)
-     * @param isSnapshot
-     *            - true for snapshot session else false
-     * @param monitor
-     *            - a progress monitor
      * @return the session information
      * @throws ExecutionException
      *             If the command fails
      */
-    ISessionInfo createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl, boolean isSnapshot, IProgressMonitor monitor) throws ExecutionException;
+    ISessionInfo createSession(ISessionInfo sessionInfo, IProgressMonitor monitor) throws ExecutionException;
 
     /**
      * Destroys a session with given session name.
This page took 0.024061 seconds and 5 git commands to generate.