public static class UserProfileConfiguration.ProfileProperty
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserProfileConfiguration.ProfileProperty.ProfilePropertyBuilder |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compileRegex() |
java.lang.String |
getHeaderName() |
java.lang.String |
getProfileName() |
UserProfileConfiguration.UpdateStrategy |
getUpdateStrategy() |
java.lang.String |
getValidationRegex() |
java.lang.String |
getValueToUseIfNoOtherValidValue() |
boolean |
isOptional() |
boolean |
isValid(java.lang.String value)
Value missing (
null: Is valid if property optional. |
static UserProfileConfiguration.ProfileProperty.ProfilePropertyBuilder |
with(java.lang.String headerName,
java.lang.String profileName) |
public static UserProfileConfiguration.ProfileProperty.ProfilePropertyBuilder with(java.lang.String headerName, java.lang.String profileName)
public java.lang.String getHeaderName()
public java.lang.String getProfileName()
public java.lang.String getValueToUseIfNoOtherValidValue()
public java.lang.String getValidationRegex()
public UserProfileConfiguration.UpdateStrategy getUpdateStrategy()
public boolean isOptional()
public boolean isValid(java.lang.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()