X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws2%2FWebServiceI.java;h=73e58ee07fc64cb6e9927449539e4d68e1b5ba4f;hb=05aa2f3418a9425fba206d2f445d9d58ce93aabf;hp=954bab7648437e0310ff6f58134bf79444ba71c4;hpb=12513d239162ffe5d3e8ece01545634c09bd5050;p=jalview.git diff --git a/src/jalview/ws2/WebServiceI.java b/src/jalview/ws2/WebServiceI.java index 954bab7..73e58ee 100755 --- a/src/jalview/ws2/WebServiceI.java +++ b/src/jalview/ws2/WebServiceI.java @@ -10,42 +10,45 @@ import jalview.ws.params.WsParamSetI; import jalview.ws2.operations.Operation; /** - * Provides information about the web service and sub-routines - * to submit, track and cancel the jobs running on the server as well as - * retrieve the results. + * Provides information about the web service and sub-routines to submit, track + * and cancel the jobs running on the server as well as retrieve the results. * The instances should not depend on any other jalview components, especially - * must be oblivious to the existence of any UI. - * They are used by other classes such as WebServiceWorkers rather than - * manipulate data themselves. + * must be oblivious to the existence of any UI. They are used by other classes + * such as WebServiceWorkers rather than manipulate data themselves. * * @author mmwarowny */ public interface WebServiceI { public String getHostName(); + public String getProviderName(); + public String getName(); + public String getDescription(); + public String getOperationType(); + public List getOperations(); + public boolean hasParameters(); + public ParamDatastoreI getParamStore(); public String submit(List sequences, List args) throws IOException; - public void updateProgress(WSJob job) - throws IOException; + public void updateProgress(WSJob job) throws IOException; -// public ResultSupplier getResultSupplier(Class type); + // public ResultSupplier getResultSupplier(Class type); public void cancel(WSJob job) throws IOException; /** - * Handle an exception that happened during job submission. - * If the exception was handled property by this method, it - * returns true. Otherwise, returns false indicating the exception - * should be handled by the caller. + * Handle an exception that happened during job submission. If the exception + * was handled property by this method, it returns true. Otherwise, returns + * false indicating the exception should be handled by the caller. */ public boolean handleSubmissionError(WSJob job, Exception ex);