Examples of EdgeFromPredicate


Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

     * @return the edges from the provided node.
     */
    public List getEdgesFrom( DependencyGraphNode node )
    {
        List ret = new ArrayList();
        CollectionUtils.select( this.edges, new EdgeFromPredicate( node.getArtifact() ), ret );
        return ret;
    }
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

        // Gather up the transient nodes from the DependencyGraph.
        List actualEdges = new ArrayList();

        DependencyGraphNode rootNode = graph.getRootNode();

        Predicate transientDep = NotPredicate.getInstance( new EdgeFromPredicate( rootNode.getArtifact() ) );
        Predicate edgeByExactScope = new EdgeExactScopePredicate( scope );
        Predicate transitiveEdgesByScopePredicate = AndPredicate.getInstance( transientDep, edgeByExactScope );

        CollectionUtils.select( graph.getEdges(), transitiveEdgesByScopePredicate, actualEdges );
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

    }

    public void discoverGraph( DependencyGraph graph )
    {
        super.discoverGraph( graph );
        rootEdgePredicate = new EdgeFromPredicate( graph.getRootNode() );
    }
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

        // Gather up the transient nodes from the DependencyGraph.
        List actualEdges = new ArrayList();

        DependencyGraphNode rootNode = graph.getRootNode();

        Predicate transientDep = NotPredicate.getInstance( new EdgeFromPredicate( rootNode.getArtifact() ) );
        Predicate edgeByExactScope = new EdgeExactScopePredicate( scope );
        Predicate transitiveEdgesByScopePredicate = AndPredicate.getInstance( transientDep, edgeByExactScope );

        CollectionUtils.select( graph.getEdges(), transitiveEdgesByScopePredicate, actualEdges );
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

    }

    public void discoverGraph( DependencyGraph graph )
    {
        super.discoverGraph( graph );
        rootEdgePredicate = new EdgeFromPredicate( graph.getRootNode() );
    }
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

     * @return the edges from the provided node.
     */
    public List getEdgesFrom( DependencyGraphNode node )
    {
        List ret = new ArrayList();
        CollectionUtils.select( this.edges, new EdgeFromPredicate( node.getArtifact() ), ret );
        return ret;
    }
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

        // Gather up the transient nodes from the DependencyGraph.
        ArrayList<DependencyGraphEdge> actualEdges = new ArrayList<DependencyGraphEdge>();

        DependencyGraphNode rootNode = graph.getRootNode();

        Predicate transientDep = NotPredicate.getInstance( new EdgeFromPredicate( rootNode.getArtifact() ) );
        Predicate edgeByExactScope = new EdgeExactScopePredicate( scope );
        Predicate transitiveEdgesByScopePredicate = AndPredicate.getInstance( transientDep, edgeByExactScope );

        CollectionUtils.select( graph.getEdges(), transitiveEdgesByScopePredicate, actualEdges );
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

        // Gather up the transient nodes from the DependencyGraph.
        List actualEdges = new ArrayList();

        DependencyGraphNode rootNode = graph.getRootNode();

        Predicate transientDep = NotPredicate.getInstance( new EdgeFromPredicate( rootNode.getArtifact() ) );
        Predicate edgeByExactScope = new EdgeExactScopePredicate( scope );
        Predicate transitiveEdgesByScopePredicate = AndPredicate.getInstance( transientDep, edgeByExactScope );

        CollectionUtils.select( graph.getEdges(), transitiveEdgesByScopePredicate, actualEdges );
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

     * @return the edges from the provided node.
     */
    public List<DependencyGraphEdge> getEdgesFrom( DependencyGraphNode node )
    {
        List<DependencyGraphEdge> ret = new ArrayList<DependencyGraphEdge>();
        CollectionUtils.select( this.edges, new EdgeFromPredicate( node.getArtifact() ), ret );
        return ret;
    }
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.functors.EdgeFromPredicate

    }

    public void discoverGraph( DependencyGraph graph )
    {
        super.discoverGraph( graph );
        rootEdgePredicate = new EdgeFromPredicate( graph.getRootNode() );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.