X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=webservices%2Fcompbio%2Fws%2Fclient%2FServices.java;h=6840916e84127b9f388553fc7225e06d470d8ab5;hb=fa61eaad52ffe5ee0db449c3dd9ec5fa67aec43f;hp=2ffafb68ba55e3019a6c4e73c82d842a7a9da83a;hpb=a966c1a63f4365f34a0567514dee6d1bc4d3af91;p=jabaws.git diff --git a/webservices/compbio/ws/client/Services.java b/webservices/compbio/ws/client/Services.java index 2ffafb6..6840916 100644 --- a/webservices/compbio/ws/client/Services.java +++ b/webservices/compbio/ws/client/Services.java @@ -26,6 +26,7 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.namespace.QName; import javax.xml.ws.Service; +import compbio.data.msa.FoldWS; import compbio.data.msa.JABAService; import compbio.data.msa.MsaWS; import compbio.data.msa.SequenceAnnotation; @@ -39,7 +40,7 @@ public enum Services { * Make sure this class has NO references to runners or engines as it is a * part of minimal client package. Such things should go into ServicesUtil */ - MafftWS, MuscleWS, ClustalWS, ClustalOWS, TcoffeeWS, ProbconsWS, AAConWS, JronnWS, DisemblWS, GlobPlotWS, IUPredWS; + MafftWS, MuscleWS, ClustalWS, ClustalOWS, TcoffeeWS, ProbconsWS, AAConWS, JronnWS, DisemblWS, GlobPlotWS, IUPredWS, RNAalifoldWS; public static Services getService(String servName) { servName = servName.trim().toLowerCase(); @@ -86,8 +87,10 @@ public enum Services { case MuscleWS : case ProbconsWS : case TcoffeeWS : - return MsaWS.class; + + case RNAalifoldWS : + return FoldWS.class; default : throw new RuntimeException("Unrecognised Web Service Type " + this + " - Should never happened!"); @@ -126,6 +129,8 @@ public enum Services { return PROBCONS_INFO; case TcoffeeWS : return TCOFFEE_INFO; + case RNAalifoldWS : + return RNAALIFOLD_INFO; default : throw new RuntimeException("Unrecognised Web Service Type " + this + " - Should never happened!"); @@ -189,6 +194,12 @@ public enum Services { + "Parallelization of the MAFFT multiple sequence alignment program. ", "6.8.57", "http://mafft.cbrc.jp/alignment/software/").toString();; + // TODO reference + public static final String RNAALIFOLD_INFO = new ServiceInfo( + RNAalifoldWS, + "Reference to come", "2.1.2", + "http://www.tbi.univie.ac.at/RNA/").toString();; + @XmlAccessorType(XmlAccessType.FIELD) static class ServiceInfo { Services service;