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
public class DependencyTable.TimestampChecker extends DependencyTable.DependencyVisitor
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
noNeedToRebuild
private long
outputLastModified
private boolean
rebuildOnStackExhaustion
-
Constructor Summary
Constructors Constructor Description TimestampChecker(long outputLastModified, boolean rebuildOnStackExhaustion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getMustRebuild()
boolean
preview(DependencyInfo parent, DependencyInfo[] children)
Previews all the children of this source file.void
stackExhausted()
Called if the dependency depth exhausted the stack.boolean
visit(DependencyInfo dependInfo)
Visits the dependency info.
-
-
-
Method Detail
-
getMustRebuild
public boolean getMustRebuild()
-
preview
public boolean preview(DependencyInfo parent, DependencyInfo[] children)
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
public boolean visit(DependencyInfo dependInfo)
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
-
-