com.caucho.make
Class DependencyList

java.lang.Object
  extended by com.caucho.make.DependencyList
All Implemented Interfaces:
Dependency, PersistentDependency

public class DependencyList
extends java.lang.Object
implements PersistentDependency

Contains a set of dependencies.


Constructor Summary
DependencyList()
           
 
Method Summary
 DependencyList add(PersistentDependency dependency)
          Adds a dependency.
 java.lang.String getJavaCreateString()
          Returns a string to recreate the dependency.
 boolean isModified()
          Returns true if the underlying dependencies have changed.
 boolean isModifiedNow()
          Returns true if the underlying dependencies have changed, forcing a check.
 boolean logModified(java.util.logging.Logger log)
          Logs the reason for modification.
 DependencyList remove(PersistentDependency dependency)
          Removes a dependency.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyList

public DependencyList()
Method Detail

add

public DependencyList add(PersistentDependency dependency)
Adds a dependency.


remove

public DependencyList remove(PersistentDependency dependency)
Removes a dependency.


isModified

public boolean isModified()
Returns true if the underlying dependencies have changed.

Specified by:
isModified in interface Dependency

logModified

public boolean logModified(java.util.logging.Logger log)
Logs the reason for modification.

Specified by:
logModified in interface Dependency

isModifiedNow

public boolean isModifiedNow()
Returns true if the underlying dependencies have changed, forcing a check.


getJavaCreateString

public java.lang.String getJavaCreateString()
Returns a string to recreate the dependency.

Specified by:
getJavaCreateString in interface PersistentDependency

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object