- All Implemented Interfaces:
ExtensionPoint
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 Summary
Constructors
-
Method Summary
Get the id for this given object.
void
Creates an unique id for the given object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
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.