org.apache.maven.repository.metadata
Interface ClasspathTransformation

All Known Implementing Classes:
DefaultClasspathTransformation

public interface ClasspathTransformation

Helper class to conver an Md Graph into some form of a classpath

Author:
Oleg Gusakov

Field Summary
static String ROLE
           
 
Method Summary
 ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
          Transform Graph into a Collection of metadata objects that could serve as a classpath for a particular scope
 

Field Detail

ROLE

static final String ROLE
Method Detail

transform

ClasspathContainer transform(MetadataGraph dirtyGraph,
                             ArtifactScopeEnum scope,
                             boolean resolve)
                             throws MetadataGraphTransformationException
Transform Graph into a Collection of metadata objects that could serve as a classpath for a particular scope

Parameters:
dirtyGraph - - dependency graph
scope - - which classpath to extract
resolve - - whether to resolve artifacts.
Returns:
Collection of metadata objects in the linked subgraph of the graph which contains the graph.getEntry() vertice
Throws:
MetadataGraphTransformationException


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.