Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for typeRegistry (0.06 sec)

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

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Access to {@link Type} registry.
     *
     * @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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

        private final TypeRegistry typeRegistry;
    
        private final ConcurrentHashMap<String, ArtifactHandler> allHandlers;
    
        @Inject
        public DefaultArtifactHandlerManager(TypeRegistry typeRegistry) {
            this.typeRegistry = requireNonNull(typeRegistry, "null typeRegistry");
            this.allHandlers = new ConcurrentHashMap<>();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
                        type.getLanguage(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        private final Lookup lookup;
    
        private final TypeRegistry typeRegistry;
    
        @Inject
        public DefaultPackagingRegistry(Lookup lookup, TypeRegistry typeRegistry, List<PackagingProvider> providers) {
            super(providers);
            this.lookup = lookup;
            this.typeRegistry = typeRegistry;
        }
    
        @Override
        public Optional<Packaging> lookup(String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.Type;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.services.LanguageRegistry;
    import org.apache.maven.api.services.TypeRegistry;
    import org.apache.maven.api.spi.TypeProvider;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.handler.manager.LegacyArtifactHandlerManager;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top