public class NameUtils extends Object
Constructor and Description |
---|
NameUtils() |
Modifier and Type | Method and Description |
---|---|
static <G extends com.atlassian.crowd.model.group.Group> |
canonicalGroupMapping(Iterable<G> groups)
Deprecated.
since 7.0.1. Use
canonicalMappingForGroups(Iterable) |
static com.google.common.collect.ImmutableMap<String,String> |
canonicalMapping(Iterable<String> names)
Deprecated.
since 7.0.1. Use
canonicalMappingForNames(Iterable) |
static <G extends com.atlassian.crowd.model.group.Group> |
canonicalMappingForGroups(Iterable<G> groups)
Returns a mapping from lowercase canonical version of each name to the original group.
|
static Map<String,String> |
canonicalMappingForNames(Iterable<String> names)
Returns a mapping from lowercase canonical version of each name to the original.
|
static String |
getCanonicalName(com.atlassian.crowd.model.group.Group group) |
static String |
getCanonicalName(String name) |
public static String getCanonicalName(com.atlassian.crowd.model.group.Group group)
@Deprecated public static com.google.common.collect.ImmutableMap<String,String> canonicalMapping(Iterable<String> names)
canonicalMappingForNames(Iterable)
public static Map<String,String> canonicalMappingForNames(Iterable<String> names)
@Deprecated public static <G extends com.atlassian.crowd.model.group.Group> com.google.common.collect.ImmutableMap<String,G> canonicalGroupMapping(Iterable<G> groups)
canonicalMappingForGroups(Iterable)
Copyright © 2003–2020 Atlassian. All rights reserved.