Class PromptForNameLookup
java.lang.Object
edu.umd.cs.findbugs.cloud.username.PromptForNameLookup
- All Implemented Interfaces:
NameLookup
- Author:
- pugh
-
Field Summary
Fields inherited from interface edu.umd.cs.findbugs.cloud.username.NameLookup
USER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn name that should be used as the user identityboolean
init()
boolean
signIn
(CloudPlugin plugin, BugCollection bugCollection) tries to obtain a user name.
-
Constructor Details
-
PromptForNameLookup
public PromptForNameLookup()
-
-
Method Details
-
init
public boolean init() -
getUsername
Description copied from interface:NameLookup
Return name that should be used as the user identity- Specified by:
getUsername
in interfaceNameLookup
-
signIn
Description copied from interface:NameLookup
tries to obtain a user name. May prompt the user and/or perform network activity.- Specified by:
signIn
in interfaceNameLookup
- Parameters:
plugin
- TODO- Returns:
- true if successful
-