Package jetbrains.buildServer.serverSide
Interface UserPropertyValidator
-
- All Known Implementing Classes:
UserPropertyUniquenessValidator
public interface UserPropertyValidatorValidates user property.- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringvalidate(String propertyValue, SUser editee, UserForm currentUserData)Returns error text if property value is not valid, null otherwise
-
-
-
Method Detail
-
validate
@Nullable String validate(@NotNull String propertyValue, @Nullable SUser editee, @NotNull UserForm currentUserData)
Returns error text if property value is not valid, null otherwise- Parameters:
propertyValue- property valueeditee- user that is being edited (null if user is being created)currentUserData- current user data- Returns:
- see above
-
-