Interface IdentifierProvider
public interface IdentifierProvider
The IdentifierProvider to help generate distinct values.
-
Method Summary
Modifier and TypeMethodDescriptiongetRandomName
(String prefix, int maxLen) Gets a random name.Gets a random UUID.
-
Method Details
-
getRandomName
Gets a random name.- Parameters:
prefix
- the prefix to be used if possiblemaxLen
- the max length for the random generated name- Returns:
- the random name
-
getRandomUuid
String getRandomUuid()Gets a random UUID.- Returns:
- the UUID string.
-