Interface IdentifierProvider
-
public interface IdentifierProviderThe IdentifierProvider to help generate distinct values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRandomName(String prefix, int maxLen)Gets a random name.StringgetRandomUuid()Gets a random UUID.
-
-
-
Method Detail
-
getRandomName
String getRandomName(String prefix, int maxLen)
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.
-
-