JAL-3066 Implement clustaloWS using slivka system.
[jalview.git] / src / jalview / ws / api / JalviewWebServiceI.java
1 package jalview.ws.api;
2
3 import jalview.gui.WebserviceInfo;
4 import jalview.ws.gui.WsJob;
5
6 public interface JalviewWebServiceI
7 {
8
9   void updateStatus(WsJob job);
10
11   /**
12    * Retrieve any additional log information for the job and update WsJob's
13    * progress. Results won't be retrieved until progress updates have finished.
14    * 
15    * @param job
16    * @return true if Job's stdout/progress panel was added to
17    * @throws Exception
18    */
19   boolean updateJobProgress(WsJob job) throws Exception;
20
21   boolean handleSubmitError(Throwable _lex, WsJob j, WebserviceInfo wsInfo)
22           throws Exception, Error;
23
24   boolean handleCollectionException(Exception e, WsJob msjob,
25           WebserviceInfo wsInfo);
26
27 }