tmf: Make IAnalysisModule AutoCloseable
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / analysis / IAnalysisModule.java
index 98b651114acc2cfbeb53ac78394b8f8cc6e8552f..a2c1377b165b5c036722157f8368da0122746490 100644 (file)
@@ -42,7 +42,7 @@ import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
  * @author Geneviève Bastien
  * @since 3.0
  */
-public interface IAnalysisModule extends ITmfComponent, IAnalysisRequirementProvider {
+public interface IAnalysisModule extends ITmfComponent, IAnalysisRequirementProvider, AutoCloseable {
 
     // --------------------------------------------------------
     // Getters and setters
@@ -239,4 +239,11 @@ public interface IAnalysisModule extends ITmfComponent, IAnalysisRequirementProv
      *            The of the parameter that changed
      */
     void notifyParameterChanged(String name);
+
+    // -----------------------------------------------------
+    // AutoCloseable (remove the thrown exception)
+    // -----------------------------------------------------
+
+    @Override
+    void close();
 }
This page took 0.036776 seconds and 5 git commands to generate.