Class BasicStatusManager

  • All Implemented Interfaces:
    StatusManager

    @Deprecated(since="2022-01-27")
    public class BasicStatusManager
    extends java.lang.Object
    implements StatusManager
    Deprecated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MAX_HEADER_COUNT
      Deprecated.
       
      static int TAIL_SIZE
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicStatusManager()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(Status newStatus)
      Deprecated.
      Add a new status object.
      boolean add​(StatusListener listener)
      Deprecated.
      This implementation does not allow duplicate installations of OnConsoleStatusListener
      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 StatusManager
      int getCount()
      Deprecated.
      Return the number of status entries.
      int getLevel()
      Deprecated.
       
      void remove​(StatusListener listener)
      Deprecated.
      ); Remove a status listener.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BasicStatusManager

        public BasicStatusManager()
        Deprecated.
    • Method Detail

      • add

        public void add​(Status newStatus)
        Deprecated.
        Add a new status object.
        Specified by:
        add in interface StatusManager
        Parameters:
        newStatus - the status message to add
      • getCopyOfStatusList

        public java.util.List<Status> getCopyOfStatusList()
        Deprecated.
        Description copied from interface: StatusManager
        Obtain a copy of the status list maintained by this StatusManager.
        Specified by:
        getCopyOfStatusList in interface StatusManager
        Returns:
      • clear

        public void clear()
        Deprecated.
        Description copied from interface: StatusManager
        Clear the list of status messages.
        Specified by:
        clear in interface StatusManager
      • getLevel

        public int getLevel()
        Deprecated.
      • getCount

        public int getCount()
        Deprecated.
        Description copied from interface: StatusManager
        Return the number of status entries.
        Specified by:
        getCount in interface StatusManager
        Returns:
      • add

        public boolean add​(StatusListener listener)
        Deprecated.
        This implementation does not allow duplicate installations of OnConsoleStatusListener
        Specified by:
        add in interface StatusManager
        Parameters:
        listener -
        Returns:
        true if actually added, false if skipped