Package ch.qos.logback.core.status
Interface StatusManager
-
- All Known Implementing Classes:
BasicStatusManager
@Deprecated(since="2022-01-27") public interface StatusManager
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Internal error messages (statii) are managed by instances of this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
add(Status status)
Deprecated.Add a new status message.boolean
add(StatusListener listener)
Deprecated.Add a status listener.void
clear()
Deprecated.Clear the list of status messages.java.util.List<Status>
getCopyOfStatusList()
Deprecated.Obtain a copy of the status list maintained by this StatusManager.java.util.List<StatusListener>
getCopyOfStatusListenerList()
Deprecated.Obtain a copy of the status listener list maintained by this StatusManagerint
getCount()
Deprecated.Return the number of status entries.void
remove(StatusListener listener)
Deprecated.); Remove a status listener.
-
-
-
Method Detail
-
add
void add(Status status)
Deprecated.Add a new status message.- Parameters:
status
-
-
getCopyOfStatusList
java.util.List<Status> getCopyOfStatusList()
Deprecated.Obtain a copy of the status list maintained by this StatusManager.- Returns:
-
getCount
int getCount()
Deprecated.Return the number of status entries.- Returns:
-
add
boolean add(StatusListener listener)
Deprecated.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
void remove(StatusListener listener)
Deprecated.); Remove a status listener.- Parameters:
listener
-
-
clear
void clear()
Deprecated.Clear the list of status messages.
-
getCopyOfStatusListenerList
java.util.List<StatusListener> getCopyOfStatusListenerList()
Deprecated.Obtain a copy of the status listener list maintained by this StatusManager- Returns:
-
-