1 package com.sslexplorer.tasks; 2 3 import java.util.Collection ; 4 5 import com.sslexplorer.security.SessionInfo; 6 7 public interface Task { 8 public int getId(); 9 public String getBundle(); 10 public String getName(); 11 void init(SessionInfo session, int id); 12 public void run() throws TaskException; 13 public Collection <TaskProgressBar> getProgressBars(); 14 public String getNote(); 15 public SessionInfo getSession(); 16 public boolean isComplete(); 17 public void complete(); 18 public void addProgressBar(TaskProgressBar progressBar); 19 public void waitForConfiguration(); 20 public void configured(); 21 public String getOnFinish(); 22 public boolean isConfigured(); 23 public void clearProgressBars(); 24 } 25 | Popular Tags |