Package hudson.model
Class User.FullNameIdResolver
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<User.CanonicalIdResolver>
-
- 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 Constructor Description FullNameIdResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPriority()
Gets priority of the resolver.String
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 hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
resolveCanonicalId
public String resolveCanonicalId(String idOrFullName, Map<String,?> context)
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.
-
-