java.lang.Object | |
↳ | com.atlassian.jira.service.util.handler.MessageUserProcessorImpl |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the first User found with an email address that equals the given emailAddress case insensitively.
| |||||||||||
Finds the user with the given username or returns null if there is no such User.
| |||||||||||
For each sender of the given message in turn, look up a User first with a case-insensitively equal email address,
and failing that, with a username equal to the email address.
|
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||
From interface
com.atlassian.jira.service.util.handler.MessageUserProcessor
|
Returns the first User found with an email address that equals the given emailAddress case insensitively.
emailAddress | the email address to match. |
---|
Finds the user with the given username or returns null if there is no such User. Convenience method which doesn't throw up.
username | the username. |
---|
For each sender of the given message in turn, look up a User first with a case-insensitively equal email address, and failing that, with a username equal to the email address.
JIRA wants to do this because when we create users in email handlers, we set email and username equal. If a user subsequently changes their email address, we must not assume they don't exist and create them with the email address as the username.message | the message from which to get the User. |
---|
MessagingException | if there's strife getting the message sender. |
---|