Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for ArtifactFilter (0.1 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link OrArtifactFilter}.
     *
     */
    @Deprecated
    class OrArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            OrArtifactFilter filter1 = new OrArtifactFilter();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.CyclicDependencyException;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.artifact.resolver.filter.ExclusionSetFilter;
    import org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to include from a list of artifact patterns.
     *
     */
    public class IncludesArtifactFilter implements ArtifactFilter {
        private final Set<String> patterns;
    
        public IncludesArtifactFilter(List<String> patterns) {
            this.patterns = new LinkedHashSet<>(patterns);
        }
    
        public boolean include(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.model.Exclusion;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     */
    public class ExclusionArtifactFilter implements ArtifactFilter {
    
        private final List<Exclusion> exclusions;
        private final List<Predicate<Artifact>> predicates;
    
        public ExclusionArtifactFilter(List<Exclusion> exclusions) {
            this.exclusions = exclusions;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /** Artifact Filter which filters on artifact type */
    @Deprecated
    public class TypeArtifactFilter implements ArtifactFilter {
        private String type = "jar";
    
        public TypeArtifactFilter(String type) {
            this.type = type;
        }
    
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    abstract class AbstractScopeArtifactFilter implements ArtifactFilter {
    
        private boolean compileScope;
    
        private boolean runtimeScope;
    
        private boolean testScope;
    
        private boolean providedScope;
    
        private boolean systemScope;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. test-site/activator-launch-1.3.2.jar

    fromRoot$1(java.io.File, scala.runtime.ObjectRef, scala.runtime.VolatileByteRef); public void Find(LaunchConfiguration); } xsbt/boot/Update$ArtifactFilter.class package xsbt.boot; public final synchronized class Update$ArtifactFilter implements org.apache.ivy.util.filter.Filter { private final scala.Function1 f; public final boolean accept(Object); public void Update$ArtifactFilter(scala.Function1); } xsbt/boot/BootSetup.class package xsbt.boot; public final synchronized class BootSetup implements scala.Product,...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top