Class UserIdStore

java.lang.Object
org.jenkinsci.plugins.uniqueid.IdStore<User>
org.jenkinsci.plugins.uniqueid.implv2.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 Details

    • UserIdStore

      public UserIdStore()
  • Method Details

    • 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.