Package org.biojava.utils
Interface ActivityListener
public interface ActivityListener
Interface for object which monitor long-running activities.
(may be subject to change before 1.2-final)
- Since:
- 1.2
- Author:
- Thomas Down
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activityFailed
(Object source, Exception ex) Notification of errors behind the scenes.void
activityProgress
(Object source, int current, int target) Estimated progress of an activity.void
completedActivity
(Object source) Notification that an activity is complete.void
startedActivity
(Object source) Notification that an activity has started.
-
Method Details
-
startedActivity
Notification that an activity has started. -
completedActivity
Notification that an activity is complete. -
activityFailed
Notification of errors behind the scenes. -
activityProgress
Estimated progress of an activity. This indicated thatcurrent
parts of the activity have been completed, out of a targettarget
.
-