From 852ce759351d72bfb696b8cc3e806a156a2fbbd7 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Thu, 5 Oct 2023 14:21:47 +0200 Subject: [PATCH] JAL-1601 Add sec str pred provider and client interfaces --- .../ws2/actions/secstructpred/SecStructPredProvider.java | 14 ++++++++++++++ .../ws2/client/api/SecStructPredWebServiceClientI.java | 9 +++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java create mode 100644 src/jalview/ws2/client/api/SecStructPredWebServiceClientI.java diff --git a/src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java b/src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java new file mode 100644 index 0000000..380fd28 --- /dev/null +++ b/src/jalview/ws2/actions/secstructpred/SecStructPredProvider.java @@ -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 index 0000000..b563603 --- /dev/null +++ b/src/jalview/ws2/client/api/SecStructPredWebServiceClientI.java @@ -0,0 +1,9 @@ +package jalview.ws2.client.api; + +import jalview.ws2.actions.secstructpred.SecStructPredProvider; + +public interface SecStructPredWebServiceClientI + extends WebServiceClientI, SecStructPredProvider +{ + +} -- 1.7.10.2