tmf: Make StateValueType and TimeRange exceptions into runtime ones
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / statesystem / ITmfAnalysisModuleWithStateSystems.java
index 0830d97dca373b559f5ab02dac55f1cebc309efd..90d36f0b3b46fd65dddde2b5becf4778aa150fc2 100644 (file)
 
 package org.eclipse.linuxtools.tmf.core.statesystem;
 
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
+import org.eclipse.linuxtools.tmf.core.analysis.IAnalysisModule;
 
 /**
  * Interface for analysis modules providing state systems.
@@ -22,7 +24,7 @@ import org.eclipse.jdt.annotation.Nullable;
  * @since 3.0
  */
 @NonNullByDefault
-public interface ITmfAnalysisModuleWithStateSystems {
+public interface ITmfAnalysisModuleWithStateSystems extends IAnalysisModule {
 
     /**
      * Return a specific state system provided by this analysis.
@@ -33,7 +35,7 @@ public interface ITmfAnalysisModuleWithStateSystems {
      *         no match.
      */
     @Nullable
-    ITmfStateSystem getStateSystem(String id);
+    ITmfStateSystem getStateSystem(@NonNull String id);
 
     /**
      * FIXME The ID's should be saved in the state system themselves
@@ -47,7 +49,7 @@ public interface ITmfAnalysisModuleWithStateSystems {
      * @return The corresponding state system
      */
     @Nullable
-    String getStateSystemId(ITmfStateSystem ss);
+    String getStateSystemId(@NonNull ITmfStateSystem ss);
 
     /**
      * Return all the state systems provided by this analysis module, in
This page took 0.024243 seconds and 5 git commands to generate.