JAL-3878 Rename web service worker to more generic pollable task.
[jalview.git] / src / jalview / ws2 / WebServiceWorkerI.java
index f1864fc..22b4c73 100644 (file)
@@ -3,19 +3,15 @@ package jalview.ws2;
 import java.io.IOException;
 import java.util.List;
 
-import javax.print.attribute.standard.JobState;
-
-import jalview.util.MathUtils;
-
-public interface WebServiceWorkerI
+public interface WebServiceWorkerI extends PollableTaskI
 {
   long getUID();
 
   List<WSJob> getJobs();
 
-  void startJobs() throws IOException;
+  void start() throws IOException;
 
-  boolean pollJobs() throws IOException;
+  boolean poll() throws IOException;
 
   WebServiceI getWebService();