Class PromptForNameLookup

java.lang.Object
edu.umd.cs.findbugs.cloud.username.PromptForNameLookup
All Implemented Interfaces:
NameLookup

public class PromptForNameLookup extends Object implements NameLookup
Author:
pugh
  • Constructor Details

    • PromptForNameLookup

      public PromptForNameLookup()
  • Method Details

    • init

      public boolean init()
    • getUsername

      public 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
      bugCollection -
      Returns:
      true if successful