public interface StatusManager
Modifier and Type | Method and Description |
---|---|
void |
add(Status status)
Add a new status message.
|
void |
add(StatusListener listener)
Add a status listener.
|
boolean |
addUniquely(StatusListener listener,
Object origin)
Add a status listener unless another instance of the same type has been
previously registered.
|
void |
clear()
Clear the list of status messages.
|
List<Status> |
getCopyOfStatusList()
Obtain a copy of the status list maintained by this StatusManager.
|
List<StatusListener> |
getCopyOfStatusListenerList()
Obtain a copy of the status listener list maintained by this StatusManager
|
int |
getCount()
Return the number of status entries.
|
void |
remove(StatusListener listener)
Remove a status listener.
|
void add(Status status)
status
- the status to addList<Status> getCopyOfStatusList()
int getCount()
void add(StatusListener listener)
listener
- the status listenerboolean addUniquely(StatusListener listener, Object origin)
listener
- the status listenerorigin
- the caller of this methodvoid remove(StatusListener listener)
listener
- the status listenervoid clear()
List<StatusListener> getCopyOfStatusListenerList()
Copyright © 2005–2014 QOS.ch. All rights reserved.