Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for ArtifactFilter (0.1 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/filter/ArtifactFilter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     */
    public interface ArtifactFilter {
        boolean include(Artifact artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 988 bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

    @Deprecated
    public class OrArtifactFilter implements ArtifactFilter {
    
        private Set<ArtifactFilter> filters;
    
        public OrArtifactFilter() {
            this.filters = new LinkedHashSet<>();
        }
    
        public OrArtifactFilter(Collection<ArtifactFilter> filters) {
            this.filters = new LinkedHashSet<>(filters);
        }
    
        public boolean include(Artifact artifact) {
            for (ArtifactFilter filter : filters) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            artifact.setDownloadUrl(downloadUrl);
        }
    
        /** {@inheritDoc} */
        public ArtifactFilter getDependencyFilter() {
            return artifact.getDependencyFilter();
        }
    
        /** {@inheritDoc} */
        public void setDependencyFilter(ArtifactFilter artifactFilter) {
            artifact.setDependencyFilter(artifactFilter);
        }
    
        /** {@inheritDoc} */
        public ArtifactHandler getArtifactHandler() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManager.java

         *             extensions.
         */
        ArtifactFilter getArtifactFilter();
    
        /**
         * Returns a filter for only the core artifacts.
         *
         * @return the artifact filter
         */
        ArtifactFilter getCoreArtifactFilter();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            Map<String, Artifact> managedVersions = request.getManagedVersionMap();
            List<ResolutionListener> listeners = request.getListeners();
            ArtifactFilter collectionFilter = request.getCollectionFilter();
            ArtifactFilter resolutionFilter = request.getResolutionFilter();
            RepositorySystemSession session = getSession(request.getLocalRepository());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

            for (Iterator<ArtifactFilter> i = filters.iterator(); i.hasNext() && include; ) {
                ArtifactFilter filter = i.next();
                if (!filter.include(artifact)) {
                    include = false;
                }
            }
            return include;
        }
    
        public void add(ArtifactFilter artifactFilter) {
            filters.add(artifactFilter);
        }
    
        public List<ArtifactFilter> getFilters() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/LegacyArtifactCollector.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ResolutionListener;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.repository.legacy.resolver.conflict.ConflictResolver;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves all of the best versions to use
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void updateVersion(String version, ArtifactRepository localRepository);
    
        String getDownloadUrl();
    
        void setDownloadUrl(String downloadUrl);
    
        ArtifactFilter getDependencyFilter();
    
        void setDependencyFilter(ArtifactFilter artifactFilter);
    
        ArtifactHandler getArtifactHandler();
    
        List<String> getDependencyTrail();
    
        void setDependencyTrail(List<String> dependencyTrail);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.wagon.events.TransferListener;
    
    /**
     */
    // Just hide the one method we want behind the RepositorySystem interface.
    @Deprecated
    public interface ArtifactResolver {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            this.downloadUrl = downloadUrl;
        }
    
        @Override
        public ArtifactFilter getDependencyFilter() {
            return dependencyFilter;
        }
    
        @Override
        public void setDependencyFilter(ArtifactFilter artifactFilter) {
            dependencyFilter = artifactFilter;
        }
    
        @Override
        public ArtifactHandler getArtifactHandler() {
            return artifactHandler;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top