Annotation EnableSlug

  • All Implemented Interfaces:

    @Target(allowedTargets = {AnnotationTarget.CLASS})@Import(value = {SlugAutoConfiguration.class}) 
    public @interface EnableSlug
    
                        

    {@code @EnableSlug} is a configuration annotation that enables automatic slug generation in a Spring Boot application.

    <p>This annotation imports {@link SlugAutoConfiguration} into the Spring application context and optionally allows specifying a custom {@link ISlugGenerator} implementation.</p><p>By default, {@link ISlugGenerator} is used as a placeholder. To provide custom slug generation logic, supply your own implementation of the {@code ISlugGenerator} interface.</p><p><strong>Example usage:</strong></p> <pre>{@code
    • 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
      • Methods inherited from class java.lang.Object

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

    • Method Detail