Package org.localify.data
Class ParamGuards
java.lang.Object
org.localify.data.ParamGuards
A utility class for guarding against invalid parameters.
-
Method Summary
-
Method Details
-
requireUuidList
Requires a list of strings to be a list of UUIDs.- Parameters:
name- The name of the parameter.values- The list of strings.- Returns:
- A list of UUIDs.
- Throws:
BadRequestException- if the list is null, empty, or contains invalid UUIDs.
-