Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExtensibleEnumRegistry (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java

     * custom enum values that have been registered through SPI providers.
     *
     * @param <T> the specific type of extensible enum managed by this registry
     * @since 4.0.0
     */
    public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service {
        @Nonnull
        Optional<T> lookup(@Nonnull String id);
    
        @Nonnull
        default T require(@Nonnull String id) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

     * provided by Maven and custom types registered through SPI provider implementations.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top