Bug 375464 - Expose type of dependency in DependencyGraph
Summary: Expose type of dependency in DependencyGraph
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Plugins (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 14:46 EDT by Henrik Lynggaard Hansen CLA
Modified: 2012-10-17 19:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lynggaard Hansen CLA 2012-03-27 14:46:45 EDT
Certain plugins (e.g. DependencyGraph / Dependency viewer) could benefit from being able to query the type of dependency there exists between two projects.

The dependency information can be queried using hudson.model.DependencyGraph.getUpstreamDependencies() / hudson.model.DependencyGraph.getDownstreamDependencies(), but the type of dependency cannot be determined because all dependencies are wrapped in a hudson.model.DependencyGraph.DependencyGroup.

This class does not expose the list of inner dependencies it groups.