Class CustomListener.Status

java.lang.Object
me.croabeast.common.CustomListener.Status
Enclosing interface:
CustomListener

public static final class CustomListener.Status extends Object
A simple status holder for tracking the registration state of a CustomListener.

This inner class provides a mutable flag indicating whether the listener is currently registered. It is automatically used by implementations of CustomListener to manage their state.

  • Constructor Details

    • Status

      public Status()
      Constructs a new Status with a default unregistered state.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this status.
      Overrides:
      toString in class Object
      Returns:
      a string indicating the registration state.