Package jenkins.plugins.slack.user
Class EmailSlackUserIdResolver
java.lang.Object
hudson.model.AbstractDescribableImpl<SlackUserIdResolver>
jenkins.plugins.slack.user.SlackUserIdResolver
jenkins.plugins.slack.user.EmailSlackUserIdResolver
- All Implemented Interfaces:
ExtensionPoint
,Describable<SlackUserIdResolver>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class jenkins.plugins.slack.user.SlackUserIdResolver
authToken, httpClient
-
Constructor Summary
ConstructorDescriptionEmailSlackUserIdResolver
(String authToken, org.apache.http.impl.client.CloseableHttpClient httpClient) EmailSlackUserIdResolver
(String authToken, org.apache.http.impl.client.CloseableHttpClient httpClient, List<MailAddressResolver> mailAddressResolvers) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
resolveUserId
(User user) resolveUserIdForEmailAddress
(String emailAddress) void
setMailAddressResolvers
(List<MailAddressResolver> mailAddressResolvers) Methods inherited from class jenkins.plugins.slack.user.SlackUserIdResolver
all, findOrResolveUserId, getDescriptor, resolveUserIdsForChangeLogSet, resolveUserIdsForChangeLogSets, resolveUserIdsForRun, setAuthToken, setHttpClient
-
Constructor Details
-
EmailSlackUserIdResolver
public EmailSlackUserIdResolver(String authToken, org.apache.http.impl.client.CloseableHttpClient httpClient, List<MailAddressResolver> mailAddressResolvers) -
EmailSlackUserIdResolver
public EmailSlackUserIdResolver(String authToken, org.apache.http.impl.client.CloseableHttpClient httpClient) -
EmailSlackUserIdResolver
@DataBoundConstructor public EmailSlackUserIdResolver()
-
-
Method Details
-
getAPIMethodURL
-
setMailAddressResolvers
-
resolveUserId
- Specified by:
resolveUserId
in classSlackUserIdResolver
-
resolveUserIdForEmailAddress
-