Interface ExtensibleEnumProvider<T extends ExtensibleEnum>

Type Parameters:
T - The type of extensible enum to extend
All Superinterfaces:
SpiService
All Known Subinterfaces:
LanguageProvider, LifecycleProvider, PackagingProvider, PathScopeProvider, ProjectScopeProvider, TypeProvider
All Known Implementing Classes:
DefaultLifecycleRegistry.LifecycleWrapperProvider, DefaultTypeProvider, DefaultTypeProvider

@Experimental @Consumer public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService
An SPI interface to extend Maven with a new enum value.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Registers new values for the T extensible enum.
  • Method Details Link icon

    • provides Link icon

      @Nonnull Collection<T> provides()
      Registers new values for the T extensible enum.
      Returns:
      a collection of T instances to register