Class 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 Detail

      • MimickedUser

        public MimickedUser​(hudson.model.User user)
      • MimickedUser

        public MimickedUser​(String id,
                            String fullName)
    • Method Detail

      • getId

        public String getId()
        Returns:
        User.getId()
      • getFullName

        public String getFullName()
        Returns:
        a string matching User.getFullName()
      • getUser

        public hudson.model.User getUser​(boolean create)