Class DataFaker
- java.lang.Object
-
- com.cloudbees.jenkins.support.filter.DataFaker
-
@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class DataFaker extends Object implements ExtensionPoint, Function<Function<String,String>,Supplier<String>>
Provides a way to generate random names.- Since:
- TODO
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DataFaker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<String>
apply(Function<String,String> nameTransformer)
Applies the provided function to a random name and normalizes the result.static DataFaker
get()
-
-
-
Method Detail
-
get
public static DataFaker get()
- Returns:
- the singleton instance
-
-