|
||||||||||
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()
|
|
DependencyContainer(java.lang.ClassLoader loader)
|
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.lang.ClassLoader |
getClassLoader()
|
java.util.ArrayList<Dependency> |
getDependencies()
|
boolean |
isAsync()
|
boolean |
isModified()
Returns true if the underlying dependencies have changed. |
boolean |
isModified(boolean isAsync)
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 |
setAsync(boolean isAsync)
|
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()
public DependencyContainer(java.lang.ClassLoader loader)
Method Detail |
---|
public boolean isAsync()
public void setAsync(boolean isAsync)
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 java.lang.ClassLoader getClassLoader()
public void setModified(boolean isModified)
public void resetDependencyCheckInterval()
public void clearModified()
public boolean isModified()
isModified
in interface Dependency
public boolean isModified(boolean isAsync)
public boolean logModified(java.util.logging.Logger log)
logModified
in interface Dependency
public 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 |