control: Add support for saving session
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / service / LTTngControlServiceConstants.java
index 20060280a6714a664a0ca817c073e65d1451d536..4511e75c2189945f35aeab42eb63d7411cec1abd 100644 (file)
@@ -50,6 +50,9 @@ public interface LTTngControlServiceConstants {
      */
     String TRUE_NUMERICAL = "1"; //$NON-NLS-1$
 
+    /** The default directory for session */
+    public static final String DEFAULT_PATH = ".lttng/sessions"; //$NON-NLS-1$
+
     // ------------------------------------------------------------------------
     // LTTng Machine Interface constants
     // ------------------------------------------------------------------------
@@ -94,10 +97,6 @@ public interface LTTngControlServiceConstants {
      * Command to destroy a session.
      */
     String COMMAND_START_SESSION = "start"; //$NON-NLS-1$
-    /**
-     * Command to load a session.
-     */
-    String COMMAND_LOAD_SESSION = "load"; //$NON-NLS-1$
     /**
      * Command to destroy a session.
      */
@@ -138,6 +137,14 @@ public interface LTTngControlServiceConstants {
      * Command to record a snapshot
      */
     String COMMAND_RECORD_SNAPSHOT = "record"; //$NON-NLS-1$
+    /**
+     * Command to load a session.
+     */
+    String COMMAND_LOAD_SESSION = "load"; //$NON-NLS-1$
+    /**
+     * Command to save a session
+     */
+    String COMMAND_SAVE_SESSION = "save"; //$NON-NLS-1$
 
     // ------------------------------------------------------------------------
     // Command line options constants
@@ -282,7 +289,14 @@ public interface LTTngControlServiceConstants {
      * Command line option for maximum trace files
      */
     String OPTION_MAX_TRACE_FILES = "-W"; //$NON-NLS-1$
-
+    /**
+     * Command line option for force overwrite
+     */
+    String OPTION_FORCE = "-f"; //$NON-NLS-1$
+    /**
+     * Command line option for specifying input path
+     */
+    String OPTION_INPUT_PATH = "-i"; //$NON-NLS-1$
     /**
      * Maximum live timer interval value
      */
This page took 0.024345 seconds and 5 git commands to generate.