Object SlugRegistry

  • All Implemented Interfaces:

    
    public class SlugRegistry
    
                        

    Registry for managing the global slugProvider.

    This class is used to register and retrieve the slugProvider used for generating slugs. The slugProvider is intended to be set at the application startup and used throughout the lifecycle of slug generation operations.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit setSlugProvider(ISlugProvider provider) Sets the slugProvider to be used globally for slug generation.
      final ISlugProvider getSlugProvider() Retrieves the currently set slugProvider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setSlugProvider

         final Unit setSlugProvider(ISlugProvider provider)

        Sets the slugProvider to be used globally for slug generation.

        Parameters:
        provider - The slugProvider instance to set.