ch.qos.logback.core.status
Interface StatusManager

All Known Implementing Classes:
BasicStatusManager

public interface StatusManager

Internal error messages (statii) are managed by instances of this interface.

Author:
Ceki Gulcu

Method Summary
 void add(Status status)
          Add a new status message.
 void add(StatusListener listener)
          Add a status listener.
 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.
 

Method Detail

add

void add(Status status)
Add a new status message.

Parameters:
status -

getCopyOfStatusList

List<Status> getCopyOfStatusList()
Obtain a copy of the status list maintained by this StatusManager.

Returns:

getCount

int getCount()
Return the number of status entries.

Returns:

add

void add(StatusListener listener)
Add a status listener.

Parameters:
listener -

remove

void remove(StatusListener listener)
Remove a status listener.

Parameters:
listener -

clear

void clear()
Clear the list of status messages.


getCopyOfStatusListenerList

List<StatusListener> getCopyOfStatusListenerList()
Obtain a copy of the status listener list maintained by this StatusManager

Returns:


Copyright © 2005-2012 QOS.ch. All Rights Reserved.