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

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

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

    • provides

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