public static class ReferenceGraph.Referrer extends Object
ModuleVersion that references another ModuleVersion. It is
a tuple of a ModuleVersion and a Reference to a another ModuleVersion
that occurs within it.
This class is required when obtaining the List of referrers to a ModuleVersion since that the referrer ModuleVersion is obviously required, but the actual Reference is also useful.
It is not required when obtaining the List of referred-to ModuleVersion's since in that case Reference's can be returned as then contain the referred-to ModuleVersion.
| Constructor and Description |
|---|
Referrer(ModuleVersion moduleVersion,
Reference reference)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ModuleVersion |
getModuleVersion() |
Reference |
getReference() |
int |
hashCode() |
public Referrer(ModuleVersion moduleVersion, Reference reference)
moduleVersion - ModuleVersion.reference - Reference. Can be a subclass which contains additional data
specific to the context in which the Reference occurs, such as a Maven POM.public ModuleVersion getModuleVersion()
public Reference getReference()
Copyright © 2015–2017 AZYVA INC.. All rights reserved.