public class DependencyConfiguration extends HashStructureAdapter
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
DATA_KEY
Key for obtaining the project dependency configuration. 
 | 
static java.lang.String | 
DEPENDENCY_LIST  | 
_hash| Modifier and Type | Method and Description | 
|---|---|
void | 
addDependency(Dependable dependable)
Adds a dependency to the project. 
 | 
void | 
attachDependencyChangeListener(StructureChangeListener listener)  | 
void | 
detachDependencyChangeListener(StructureChangeListener listener)  | 
java.util.List | 
getAllDependenciesList()
Returns all dependables this project depends on. 
 | 
java.util.Iterator | 
getDependencies()
toHashStructure
 Returns dependables this project depends on. 
 | 
java.util.List | 
getDependencyList()
Get a list of  
Dependables this project depends on. | 
static DependencyConfiguration | 
getInstance(Project project)  | 
static DependencyConfiguration | 
getInstance(PropertyStorage project)  | 
static java.util.logging.Logger | 
getLogger()  | 
void | 
removeDependency(Dependable dependable)
Removes the specified  
element from the dependencies list. | 
void | 
setDependencyList(java.util.List dependencies)  | 
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEqualspublic static final java.lang.String DATA_KEY
public static final java.lang.String DEPENDENCY_LIST
public static DependencyConfiguration getInstance(Project project)
public static DependencyConfiguration getInstance(PropertyStorage project)
public void attachDependencyChangeListener(StructureChangeListener listener)
public void detachDependencyChangeListener(StructureChangeListener listener)
public java.util.List getDependencyList()
Dependables this project depends on.
 Returns a copy of the internal list or null if there are no dependencies.public void setDependencyList(java.util.List dependencies)
public void addDependency(Dependable dependable) throws java.lang.IllegalStateException
addDependency(Dependable) is 
 called when a mutually-exclusive dependency already exists on the Dependable 
 source an IllegalStateException is thrown. For example, if addDependency is 
 called with a dependable that represents a build-output path, and there is 
 an existing dependency on a deployment profile in that same project, an
 exception is thrown.dependable - the Dependablejava.lang.IllegalStateException - if a mutually exclusive dependency already existspublic void removeDependency(Dependable dependable)
element from the dependencies list.public static final java.util.logging.Logger getLogger()
public java.util.Iterator getDependencies()
public java.util.List getAllDependenciesList()
List of all dependables.