lttng.control: add possibility to run a list of lttng commands
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.ui / src / org / eclipse / linuxtools / internal / lttng2 / control / ui / views / service / ILttngControlService.java
index ebefe44f4978033f4bf9a44b484fe06bc398d5f2..7684e8078ed09f33ba7f3b795ab6f5251406bf99 100644 (file)
@@ -381,4 +381,17 @@ public interface ILttngControlService {
      */
     void recordSnapshot(String sessionName, IProgressMonitor monitor)
             throws ExecutionException;
+
+    /**
+     * Executes a list of commands
+     *
+     * @param monitor
+     *      - a progress monitor
+     * @param commands
+     *      - array of commands
+     * @throws ExecutionException
+     *      If a command fails
+     */
+    void runCommands(IProgressMonitor monitor, List<String> commands)
+            throws ExecutionException;
 }
This page took 0.026519 seconds and 5 git commands to generate.