Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AndArtifactFilter (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    
    /**
     * Apply multiple filters.
     *
     */
    public class AndArtifactFilter implements ArtifactFilter {
        private Set<ArtifactFilter> filters;
    
        public AndArtifactFilter() {
            this.filters = new LinkedHashSet<>();
        }
    
        public AndArtifactFilter(List<ArtifactFilter> filters) {
            this.filters = new LinkedHashSet<>(filters);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            }
    
            ArtifactFilter scopeFilter = new ScopeArtifactFilter( scope );
    
            ArtifactFilter filter;
    
            if ( ! exclusions.isEmpty() )
            {
                filter = new AndArtifactFilter( Arrays.asList( new ArtifactFilter[]{
                    new ExcludesArtifactFilter( exclusions ), scopeFilter } ) );
            }
            else
            {
                filter = scopeFilter;
            }
            */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top