Class UuidGeneratorServiceLoader

java.lang.Object
io.cucumber.core.runtime.UuidGeneratorServiceLoader

public final class UuidGeneratorServiceLoader extends Object
Loads an instance of UuidGenerator using the ServiceLoader mechanism.

Will load an instance of the class provided by Options.getUuidGeneratorClass(). If Options.getUuidGeneratorClass() does not provide a class, if there is exactly one UuidGenerator instance available that instance will be used.

Otherwise RandomUuidGenerator with no dependency injection

  • Constructor Details