Top Description Methods
ch.qos.logback.core.status

public Interface StatusManager

Known Direct Implementers
ch.qos.logback.core.BasicStatusManager
Imports
java.util.List

Internal error messages (statii) are managed by instances of this interface.
Author
Ceki Gülcü

Method Summary

Modifier and TypeMethod and Description
public void
add(Status status)

Add a new status message.

public boolean

Returns:

true if actually added, false if skipped
add
(StatusListener listener)

Add a status listener.

public void
clear()

Clear the list of status messages.

public List<Status>
getCopyOfStatusList()

Obtain a copy of the status list maintained by this StatusManager.

public List<StatusListener>
getCopyOfStatusListenerList()

Obtain a copy of the status listener list maintained by this StatusManager

public int
getCount()

Return the number of status entries.

public void
remove(StatusListener listener)

); Remove a status listener.

Method Detail

addback to summary
public void add(Status status)

Add a new status message.

addback to summary
public boolean add(StatusListener listener)

Add a status listener. The StatusManager may decide to skip installation if an earlier instance was already installed.

Returns:boolean

true if actually added, false if skipped

clearback to summary
public void clear()

Clear the list of status messages.

getCopyOfStatusListback to summary
public List<Status> getCopyOfStatusList()

Obtain a copy of the status list maintained by this StatusManager.

getCopyOfStatusListenerListback to summary
public List<StatusListener> getCopyOfStatusListenerList()

Obtain a copy of the status listener list maintained by this StatusManager

getCountback to summary
public int getCount()

Return the number of status entries.

removeback to summary
public void remove(StatusListener listener)

); Remove a status listener.