public class ClassDependencyRelationship extends Object
ClassDepend
Modifier and Type | Field and Description |
---|---|
private Set |
dependants |
private String |
fullyQualifiedClassName |
private int |
hash |
private Set |
providers |
private boolean |
rootClass |
Constructor and Description |
---|
ClassDependencyRelationship(String fullyQualifiedClassName) |
ClassDependencyRelationship(String fullyQualifiedClassName,
boolean rootClass) |
Modifier and Type | Method and Description |
---|---|
private void |
addDependant(ClassDependencyRelationship dependant) |
void |
addProvider(ClassDependencyRelationship provider)
Add a provider class to this dependant class.
|
boolean |
equals(Object o) |
Set |
getDependants()
Get the classes dependant on this class.
|
Set |
getProviders()
Get the classes that this class needs to function.
|
int |
hashCode() |
boolean |
isRootClass()
If this a root dependant, the class was used to discover dependencies.
|
String |
toString() |
private final Set dependants
private final Set providers
private final String fullyQualifiedClassName
private final int hash
private final boolean rootClass
ClassDependencyRelationship(String fullyQualifiedClassName, boolean rootClass)
ClassDependencyRelationship(String fullyQualifiedClassName)
private void addDependant(ClassDependencyRelationship dependant)
public void addProvider(ClassDependencyRelationship provider)
provider
- public Set getDependants()
public Set getProviders()
public boolean isRootClass()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.