Package hudson.plugins.jobConfigHistory
Class MimickedUser
- java.lang.Object
-
- hudson.plugins.jobConfigHistory.MimickedUser
-
public class MimickedUser extends Object
Avoids the need for having a real user initialized when all we need is the name and the id. User existence is not guaranteed nor checked.
-
-
Constructor Summary
Constructors Constructor Description MimickedUser(User user)
MimickedUser(String id, String fullName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFullName()
String
getId()
User
getUser(boolean create)
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
User.getId()
-
getFullName
public String getFullName()
- Returns:
- a string matching
User.getFullName()
-
getUser
public User getUser(boolean create)
-
-