Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 295 for Type (0.22 sec)

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

        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        String id();
    
        /**
         * Returns the dependency type language.
         *
         * @return the language of this type, never {@code null}.
         */
        @Nonnull
        Language getLanguage();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         *
         * @param type The component type.
         * @return The component.
         * @param <T> The component type.
         * @throws LookupException if no such component or there is some provisioning related issue.
         */
        @Nonnull
        <T> T lookup(Class<T> type);
    
        /**
         * Performs a lookup for given typed component.
         *
         * @param type The component type.
         * @param name The component name.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

        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(),
                        type.getExtension(),
                        type.getClassifier(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

            return createArtifact(groupId, artifactId, version, scope, type, null, null);
        }
    
        public Artifact createArtifactWithClassifier(
                String groupId, String artifactId, String version, String type, String classifier) {
            return createArtifact(groupId, artifactId, version, null, type, classifier, null);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            this.version = version;
        }
    
        public String getType() {
            return type;
        }
    
        public String getCheckedType() {
            return type == null ? "jar" : type;
        }
    
        public void setType(String type) {
            this.type = type;
        }
    
        public ArtifactScopeEnum getArtifactScope() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                Type type = types.get(id);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
                            languageRegistry.require(handler.getLanguage()),
                            handler.getExtension(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            }
    
            if (artifactId == null) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
            }
    
            if (type == null) {
                throw new InvalidArtifactRTException(groupId, artifactId, getVersion(), type, "The type cannot be empty.");
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
        public ArtifactHandler getArtifactHandler(String type) {
            requireNonNull(type, "null type");
            ArtifactHandler handler = allHandlers.get(type);
            if (handler == null) {
                handler = artifactHandlers.get(type);
                if (handler == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Nov 27 19:18:14 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                String message,
                String groupId,
                String artifactId,
                String version,
                String type,
                String classifier,
                List<ArtifactRepository> remoteRepositories,
                List<String> path) {
            this(message, groupId, artifactId, version, type, classifier, remoteRepositories, path, null);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

        }
    
        /**
         * Adds the given path element to the specified type of path.
         *
         * @param type the type of path (class-path, module-path, …)
         * @param path the path element to add
         */
        private void addPathElement(PathType type, Path path) {
            dispatchedPaths.computeIfAbsent(type, (t) -> new ArrayList<>()).add(path);
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top