Package net.sf.antcontrib.cpptasks
Class DependencyTable.TimestampChecker
java.lang.Object
net.sf.antcontrib.cpptasks.DependencyTable.DependencyVisitor
net.sf.antcontrib.cpptasks.DependencyTable.TimestampChecker
- Enclosing class:
DependencyTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
preview
(DependencyInfo parent, DependencyInfo[] children) Previews all the children of this source file.void
Called if the dependency depth exhausted the stack.boolean
visit
(DependencyInfo dependInfo) Visits the dependency info.
-
Constructor Details
-
TimestampChecker
public TimestampChecker(long outputLastModified, boolean rebuildOnStackExhaustion)
-
-
Method Details
-
getMustRebuild
public boolean getMustRebuild() -
preview
Description copied from class:DependencyTable.DependencyVisitor
Previews all the children of this source file. May be called multiple times as DependencyInfo's for children are filled in.- Specified by:
preview
in classDependencyTable.DependencyVisitor
- Returns:
- true to continue towards recursion into included files
-
stackExhausted
public void stackExhausted()Description copied from class:DependencyTable.DependencyVisitor
Called if the dependency depth exhausted the stack.- Specified by:
stackExhausted
in classDependencyTable.DependencyVisitor
-
visit
Description copied from class:DependencyTable.DependencyVisitor
Visits the dependency info.- Specified by:
visit
in classDependencyTable.DependencyVisitor
- Returns:
- true to continue towards recursion into included files
-