JAL-3070 oops - refactor Slivka’s service stub too :)
authorJim Procter <jprocter@issues.jalview.org>
Thu, 26 Sep 2019 15:38:12 +0000 (16:38 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 26 Sep 2019 15:38:12 +0000 (16:38 +0100)
src/jalview/ws/slivkaws/SlivkaAnnotationServiceInstance.java

index 4d2c4fb..4fb35a0 100644 (file)
@@ -1,11 +1,11 @@
 package jalview.ws.slivkaws;
 
+import jalview.api.FeatureColourI;
 import jalview.datamodel.AlignmentAnnotation;
 import jalview.datamodel.SequenceI;
+import jalview.datamodel.features.FeatureMatcherSetI;
 import jalview.ws.api.JobId;
 import jalview.ws.api.SequenceAnnotationServiceI;
-import jalview.ws.gui.AnnotationWsJob;
-import jalview.ws.jws2.SeqAnnotationServiceCalcWorker;
 import jalview.ws.params.ArgumentI;
 import jalview.ws.params.WsParamSetI;
 
@@ -13,6 +13,7 @@ import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 import java.util.HashMap;
 import java.util.List;
+import java.util.Map;
 
 import uk.ac.dundee.compbio.slivkaclient.FormField;
 import uk.ac.dundee.compbio.slivkaclient.RemoteFile;
@@ -66,8 +67,9 @@ public class SlivkaAnnotationServiceInstance extends SlivkaWSInstance implements
   }
 
   @Override
-  public List<AlignmentAnnotation> getAlignmentAnnotation(AnnotationWsJob running,
-      SeqAnnotationServiceCalcWorker abstractJabaCalcWorker) throws Throwable
+  public List<AlignmentAnnotation> getAnnotationResult(JobId job,
+          List<SequenceI> seqs, Map<String, FeatureColourI> featureColours,
+          Map<String, FeatureMatcherSetI> featureFilters) throws Throwable
   {
     // TODO Auto-generated method stub
     return null;