public static class UserProfileConfiguration.ProfileProperty extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserProfileConfiguration.ProfileProperty.ProfilePropertyBuilder |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compileRegex() |
String |
getHeaderName() |
String |
getProfileName() |
UserProfileConfiguration.UpdateStrategy |
getUpdateStrategy() |
String |
getValidationRegex() |
String |
getValueToUseIfNoOtherValidValue() |
boolean |
isOptional() |
boolean |
isValid(String value)
Value missing (
null: Is valid if property optional. |
static UserProfileConfiguration.ProfileProperty.ProfilePropertyBuilder |
with(String headerName,
String profileName) |
public static UserProfileConfiguration.ProfileProperty.ProfilePropertyBuilder with(String headerName, String profileName)
public String getHeaderName()
public String getProfileName()
public String getValueToUseIfNoOtherValidValue()
public String getValidationRegex()
public UserProfileConfiguration.UpdateStrategy getUpdateStrategy()
public boolean isOptional()
public boolean isValid(String value)
null: Is valid if property optional.
Value not missing: Is valid if validation regex is missing
or if the value matches the validation regex.value - The value or null if the property is missing.protected void compileRegex()
Copyright © 2016–2021. All rights reserved.