Class UserIdStore

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension(ordinal=1.0)
    public class UserIdStore
    extends IdStore<User>
    Manages Unique IDs for User. We could make a unique file for every user. But a user already has a jenkins wide unique id that we can just tap into
    Since:
    TODO
    • Constructor Detail

      • UserIdStore

        public UserIdStore()
    • Method Detail

      • make

        public void make​(User user)
        Description copied from class: IdStore
        Creates an unique id for the given object. Subsequent calls are idempotent.
        Specified by:
        make in class IdStore<User>
        Parameters:
        user - the object to make the id for.
      • get

        public String get​(User user)
        Description copied from class: IdStore
        Get the id for this given object.
        Specified by:
        get in class IdStore<User>
        Parameters:
        user - the object.
        Returns:
        the id or null if none assigned.