JAL-961 JAL-975 extend api to support removal of workers no-longer required by the...
[jalview.git] / src / jalview / api / AlignCalcManagerI.java
index 1eedc74..35374c5 100644 (file)
@@ -3,6 +3,7 @@ package jalview.api;
 import java.util.List;
 
 import jalview.datamodel.AlignmentAnnotation;
+import jalview.ws.jws2.AAConsClient;
 
 public interface AlignCalcManagerI
 {
@@ -115,4 +116,10 @@ public interface AlignCalcManagerI
    */
   boolean isPending(AlignCalcWorkerI workingClass);
 
+  /**
+   * deregister and otherwise remove any registered and working instances of the given worker type
+   * @param typeToRemove
+   */
+  void removeRegisteredWorkersOfClass(Class typeToRemove);
+
 }