Class AccountState.DefaultWarning

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultWarning​(java.time.ZonedDateTime exp, int remaining)
      Creates a new warning.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.ZonedDateTime getExpiration()
      Returns the expiration.
      int getLoginsRemaining()
      Returns the number of logins remaining until the account locks.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultWarning

        public DefaultWarning​(java.time.ZonedDateTime exp,
                              int remaining)
        Creates a new warning.
        Parameters:
        exp - date of expiration
        remaining - number of logins
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object