- All Known Implementing Classes:
BasicStatusManager
public interface StatusManager
Internal error messages (statii) are managed by instances of this interface.
- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new status message.boolean
add
(StatusListener listener) Add a status listener.void
clear()
Clear the list of status messages.Obtain a copy of the status list maintained by this StatusManager.Obtain a copy of the status listener list maintained by this StatusManagerint
getCount()
Return the number of status entries.void
remove
(StatusListener listener) ); Remove a status listener.
-
Method Details
-
add
-
getCopyOfStatusList
Obtain a copy of the status list maintained by this StatusManager.- Returns:
-
getCount
-
add
Add a status listener. The StatusManager may decide to skip installation if an earlier instance was already installed.- Parameters:
listener
-- Returns:
- true if actually added, false if skipped
-
remove
-
clear
void clear()Clear the list of status messages. -
getCopyOfStatusListenerList
Obtain a copy of the status listener list maintained by this StatusManager- Returns:
-