Package org.jenkinsci.plugins.ewm.utils
Class RandomUtil
- java.lang.Object
-
- org.jenkinsci.plugins.ewm.utils.RandomUtil
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class RandomUtil extends Object
Utility class for random generators.- Author:
- Alexandru Somai
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
generateRandomHexString(int numChars)
Generates a random hex String with the given length.
-
-
-
Method Detail
-
generateRandomHexString
public static String generateRandomHexString(int numChars)
Generates a random hex String with the given length.- Parameters:
numChars
- the length of the String to be generated- Returns:
- the random generated hex String
-
-