JAL-1601 Add sec str pred provider and client interfaces
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Thu, 5 Oct 2023 12:21:47 +0000 (14:21 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Thu, 5 Oct 2023 12:21:47 +0000 (14:21 +0200)
src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java [new file with mode: 0644]
src/jalview/ws2/client/api/SecStructPredWebServiceClientI.java [new file with mode: 0644]

diff --git a/src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java b/src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java
new file mode 100644 (file)
index 0000000..380fd28
--- /dev/null
@@ -0,0 +1,14 @@
+package jalview.ws2.actions.secstructpred;
+
+import java.io.IOException;
+
+import jalview.io.AlignFile;
+import jalview.io.JPredFile;
+import jalview.ws2.api.WebServiceJobHandle;
+
+public interface SecStructPredProvider
+{
+  public AlignFile getAlignmentFile(WebServiceJobHandle job) throws IOException;
+  
+  public JPredFile getPredictionFile(WebServiceJobHandle job) throws IOException;
+}
diff --git a/src/jalview/ws2/client/api/SecStructPredWebServiceClientI.java b/src/jalview/ws2/client/api/SecStructPredWebServiceClientI.java
new file mode 100644 (file)
index 0000000..b563603
--- /dev/null
@@ -0,0 +1,9 @@
+package jalview.ws2.client.api;
+
+import jalview.ws2.actions.secstructpred.SecStructPredProvider;
+
+public interface SecStructPredWebServiceClientI
+    extends WebServiceClientI, SecStructPredProvider
+{
+
+}