public class MentionAnonymizationContext extends Object
Modifier and Type | Field and Description |
---|---|
ErrorCollection |
errors |
String |
mention |
String |
mentionReplacement |
WarningCollection |
warnings |
Constructor and Description |
---|
MentionAnonymizationContext(UserPropertyChangeParameter changeParameter) |
MentionAnonymizationContext(UserPropertyChangeParameter changeParameter,
java.util.function.Function<String,String> usernameMapper) |
Modifier and Type | Method and Description |
---|---|
String |
anonymizeMentions(String str) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
MentionAnonymizationContext |
withUsernameMapper(java.util.function.Function<String,String> usernameMapper) |
public final String mention
public final String mentionReplacement
public final ErrorCollection errors
public final WarningCollection warnings
public MentionAnonymizationContext(UserPropertyChangeParameter changeParameter)
public MentionAnonymizationContext(UserPropertyChangeParameter changeParameter, java.util.function.Function<String,String> usernameMapper)
@Nonnull public MentionAnonymizationContext withUsernameMapper(@Nonnull java.util.function.Function<String,String> usernameMapper)
Copyright © 2002-2022 Atlassian. All Rights Reserved.