Class WebUser


  • public final class WebUser
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WebUser​(java.lang.String playerName)  
      WebUser​(java.lang.String playerName, java.lang.String... permissions)
      Deprecated.
      WebUser now has username and player name.
      WebUser​(java.lang.String playerName, java.lang.String username, java.util.Collection<java.lang.String> permissions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String getUsername()  
      boolean hasPermission​(java.lang.String permission)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • WebUser

        public WebUser​(java.lang.String playerName)
      • WebUser

        public WebUser​(java.lang.String playerName,
                       java.lang.String username,
                       java.util.Collection<java.lang.String> permissions)
      • WebUser

        @Deprecated
        public WebUser​(java.lang.String playerName,
                       java.lang.String... permissions)
        Deprecated.
        WebUser now has username and player name.
    • Method Detail

      • hasPermission

        public boolean hasPermission​(java.lang.String permission)
      • getName

        public java.lang.String getName()
      • getUsername

        public java.lang.String getUsername()
      • toString

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