Package hudson.model
Class User.FullNameIdResolver
java.lang.Object
hudson.model.User.CanonicalIdResolver
hudson.model.User.FullNameIdResolver
- All Implemented Interfaces:
ExtensionPoint
,Describable<User.CanonicalIdResolver>
,Comparable<User.CanonicalIdResolver>
- Enclosing class:
- User
@Extension
@Symbol("fullName")
public static class User.FullNameIdResolver
extends User.CanonicalIdResolver
Resolve user ID from full name
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.User.CanonicalIdResolver
REALM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets priority of the resolver.resolveCanonicalId
(String idOrFullName, Map<String, ?> context) extract user ID from idOrFullName with help from contextual infos.Methods inherited from class hudson.model.User.CanonicalIdResolver
all, compareTo, resolve
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
FullNameIdResolver
public FullNameIdResolver()
-
-
Method Details
-
resolveCanonicalId
Description copied from class:User.CanonicalIdResolver
extract user ID from idOrFullName with help from contextual infos. can returnnull
if no user ID matched the input- Specified by:
resolveCanonicalId
in classUser.CanonicalIdResolver
-
getPriority
public int getPriority()Description copied from class:User.CanonicalIdResolver
Gets priority of the resolver. Higher priority means that it will be checked earlier.Overriding methods must not use
Integer.MIN_VALUE
, because it will cause collisions withDefaultUserCanonicalIdResolver
.- Overrides:
getPriority
in classUser.CanonicalIdResolver
- Returns:
- Priority of the resolver.
-