JAL-3878 Code reformatting.
[jalview.git] / src / jalview / ws2 / WebServiceI.java
index 954bab7..73e58ee 100755 (executable)
@@ -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<Operation> getOperations();
+
   public boolean hasParameters();
+
   public ParamDatastoreI getParamStore();
 
   public String submit(List<SequenceI> sequences, List<ArgumentI> args)
           throws IOException;
 
-  public void updateProgress(WSJob job)
-      throws IOException;
+  public void updateProgress(WSJob job) throws IOException;
 
-//  public <T> ResultSupplier<T> getResultSupplier(Class<T> type);
+  // public <T> ResultSupplier<T> getResultSupplier(Class<T> 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);