Class CAShellLoginTracker

java.lang.Object
com.io7m.cardant.shell.internal.CAShellLoginTracker
All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType

public final class CAShellLoginTracker extends Object implements com.io7m.repetoir.core.RPServiceType
A tracker for login details.
  • Constructor Details

    • CAShellLoginTracker

      public CAShellLoginTracker()
      A tracker for login details.
  • Method Details

    • setUserId

      public void setUserId(CAUserID newUserId)
      Set the current user ID.
      Parameters:
      newUserId - The new user ID
    • clearUserId

      public void clearUserId()
      Clear the current user ID.
    • userId

      public Optional<CAUserID> userId()
      Returns:
      The current user ID
    • description

      public String description()
      Specified by:
      description in interface com.io7m.repetoir.core.RPServiceType
    • toString

      public String toString()
      Overrides:
      toString in class Object