|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.make.DependencyContainer
public class DependencyContainer
Contains a set of dependencies.
| Constructor Summary | |
|---|---|
DependencyContainer()
|
|
| Method Summary | |
|---|---|
DependencyContainer |
add(Dependency dependency)
Adds a dependency. |
DependencyContainer |
addAll(java.util.ArrayList<Dependency> dependencyList)
|
DependencyContainer |
addAll(DependencyContainer container)
|
void |
clearModified()
Clears the modified flag and sets the last check time to now. |
long |
getCheckInterval()
Gets the check modification check interval. |
java.util.ArrayList<Dependency> |
getDependencies()
|
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. |
DependencyContainer |
remove(Dependency dependency)
Removes a dependency. |
void |
resetDependencyCheckInterval()
Resets the check interval. |
void |
setCheckInterval(long checkInterval)
Sets the check modification check interval in milliseconds. |
void |
setModified(boolean isModified)
Sets the modified. |
int |
size()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyContainer()
| Method Detail |
|---|
public DependencyContainer add(Dependency dependency)
public DependencyContainer addAll(DependencyContainer container)
public DependencyContainer addAll(java.util.ArrayList<Dependency> dependencyList)
public java.util.ArrayList<Dependency> getDependencies()
public DependencyContainer remove(Dependency dependency)
public int size()
public void setCheckInterval(long checkInterval)
checkInterval - how often the dependency should be checkedpublic long getCheckInterval()
public void setModified(boolean isModified)
public void resetDependencyCheckInterval()
public void clearModified()
public boolean isModified()
isModified in interface Dependencypublic boolean logModified(java.util.logging.Logger log)
logModified in interface Dependencypublic boolean isModifiedNow()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||