Class PromptForNameLookup

  • All Implemented Interfaces:
    NameLookup

    public class PromptForNameLookup
    extends java.lang.Object
    implements NameLookup
    Author:
    pugh
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getUsername()
      Return name that should be used as the user identity
      boolean init()  
      boolean signIn​(CloudPlugin plugin, BugCollection bugCollection)
      tries to obtain a user name.
      • Methods inherited from class java.lang.Object

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

      • PromptForNameLookup

        public PromptForNameLookup()
    • Method Detail

      • init

        public boolean init()
      • getUsername

        public java.lang.String getUsername()
        Description copied from interface: NameLookup
        Return name that should be used as the user identity
        Specified by:
        getUsername in interface NameLookup
      • signIn

        public boolean signIn​(CloudPlugin plugin,
                              BugCollection bugCollection)
        Description copied from interface: NameLookup
        tries to obtain a user name. May prompt the user and/or perform network activity.
        Specified by:
        signIn in interface NameLookup
        Parameters:
        plugin - TODO
        Returns:
        true if successful