KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > tasks > Task


1 package com.sslexplorer.tasks;
2
3 import java.util.Collection JavaDoc;
4
5 import com.sslexplorer.security.SessionInfo;
6
7 public interface Task {
8     public int getId();
9     public String JavaDoc getBundle();
10     public String JavaDoc getName();
11     void init(SessionInfo session, int id);
12     public void run() throws TaskException;
13     public Collection JavaDoc<TaskProgressBar> getProgressBars();
14     public String JavaDoc 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 JavaDoc getOnFinish();
22     public boolean isConfigured();
23     public void clearProgressBars();
24 }
25
Popular Tags