Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MetadataGraph (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

     *
     *
     */
    @Deprecated
    public class MetadataGraph {
        /** all graph nodes */
        Collection<MetadataGraphNode> nodes;
    
        /** entry point for tree-like structures */
        MetadataGraphNode entry;
    
        public MetadataGraph(MetadataGraphNode entry) {
            this();
    
            this.entry = entry;
        }
    
        public MetadataGraph() {
            nodes = new ArrayList<>(64);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

        }
        // ----------------------------------------------------------------------------
        public MetadataGraph getGraph() throws MetadataResolutionException {
            return treeRoot == null ? null : new MetadataGraph(treeRoot);
        }
        // ----------------------------------------------------------------------------
        public MetadataGraph getGraph(ArtifactScopeEnum scope)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        @Inject
        ClasspathTransformation transform;
    
        MetadataGraph graph;
    
        MetadataGraphVertex v1;
        MetadataGraphVertex v2;
        MetadataGraphVertex v3;
        MetadataGraphVertex v4;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            graph = new MetadataGraph(4, 3);
            /*
             *       v2
             *   v1<
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            try {
                // edge case - single vertex graph
                if (vertices.size() == 1) {
                    return new MetadataGraph(entry);
                }
    
                final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope);
    
                MetadataGraph res = new MetadataGraph(vertices.size());
                res.setVersionedVertices(false);
                res.setScopedVertices(false);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        private List<ArtifactRepository> repositories;
    
        private Set<Artifact> requestedArtifacts;
    
        private Set<Artifact> artifacts;
    
        private MetadataGraph dirtyTree;
    
        private MetadataGraph resolvedTree;
    
        private MetadataGraph resolvedGraph;
    
        public Artifact getOriginatingArtifact() {
            return originatingArtifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     *
     *
     */
    @PlexusTest
    @Deprecated
    class DefaultGraphConflictResolverTest {
        @Inject
        GraphConflictResolver resolver;
    
        MetadataGraph graph;
    
        MetadataGraphVertex v1;
        MetadataGraphVertex v2;
        MetadataGraphVertex v3;
        MetadataGraphVertex v4;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

         * @param scope scope for which the graph should be resolved
         *
         * @return resulting "clean" graph for the specified scope
         *
         * @since 3.0
         */
        MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
     *
     *
     */
    @Deprecated
    public class MetadataGraphNode {
        /** node payload */
        MavenArtifactMetadata metadata;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolutionPolicy.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    /**
     *  MetadataGraph edge selection policy. Complements
     *  GraphConflictResolver by being injected into it
     *
     *
     */
    @Deprecated
    public interface GraphConflictResolutionPolicy {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top