java.lang.Object | |
↳ | com.atlassian.jira.upgrade.tasks.util.FindMixedCaseUsernames |
Factory for various consumers that are handy in upgrade tasks that need to force old username references to lowercase. Null values are tolerated/ignored, and an internal cache is used to reduce redundant effort where possible.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Consumer that returns a map of mixed-case usernames that were found from a
columns(String) query to their lowercase equivalents. | |||||||||||
Consumer that returns a map of lowercase versions of the mixed-case usernames
that were found from a
columns(String) query to a list of
the associated entity IDs for the rows that contained a mixed-case username. | |||||||||||
Consumer that returns a map of mixed-case usernames that were found from a
distinctString(String) query to their lowercase equivalents. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Consumer that returns a map of mixed-case usernames that were found from a
columns(String)
query to their lowercase equivalents. The
column list must include the same columnName
, but need not include
any others.
"Fred"
with a
corresponding value of "fred"
.
Consumer that returns a map of lowercase versions of the mixed-case usernames
that were found from a columns(String)
query to a list of
the associated entity IDs for the rows that contained a mixed-case username.
The column list must include the same columnName
and "id"
,
but need not include any others.
"fred"
with a
corresponding value list of [10100, 10300, 10201, 10210, 10200]
.
The list should not be assumed to be in any particular order.
Consumer that returns a map of mixed-case usernames that were found from a
distinctString(String)
query to their lowercase equivalents.
"Fred"
with
a corresponding value of "fred"
.