|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DependencyBuilder
| Field Summary | |
|---|---|
static java.lang.String |
TREE_BUILD_EVENT
|
static java.lang.String |
TREE_NODE_BUILD_EVENT
|
| Method Summary | |
|---|---|
MetadataTreeNode |
buildTree(ArtifactBasicMetadata startMD,
ArtifactScopeEnum scope)
build the tree, using the repositories specified in the constructor |
void |
register(MercuryEventListener listener)
register a listener for dependency events |
java.util.List<ArtifactMetadata> |
resolveConflicts(MetadataTreeNode root)
hard to believe, but this actually resolves the conflicts, removing all duplicate GAVs from the tree |
MetadataTreeNode |
resolveConflictsAsTree(MetadataTreeNode root)
this one resolves the conflicts, removing all duplicate GAVs from the tree and returning a copy of the resulting subtree - original tree should be intact |
void |
unRegister(MercuryEventListener listener)
remove a listener |
| Field Detail |
|---|
static final java.lang.String TREE_BUILD_EVENT
static final java.lang.String TREE_NODE_BUILD_EVENT
| Method Detail |
|---|
MetadataTreeNode buildTree(ArtifactBasicMetadata startMD,
ArtifactScopeEnum scope)
throws MetadataTreeException
startMD - - root of the tree to buildtargetPlatform - - limitations to use when retrieving metadata. Format is G:A=V, where V is Version Range
MetadataTreeException
java.util.List<ArtifactMetadata> resolveConflicts(MetadataTreeNode root)
throws MetadataTreeException
root - the tree to resolve conflicts on
MetadataTreeException
MetadataTreeNode resolveConflictsAsTree(MetadataTreeNode root)
throws MetadataTreeException
root - the tree to resolve conflicts on
MetadataTreeExceptionvoid register(MercuryEventListener listener)
listener - void unRegister(MercuryEventListener listener)
listener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||