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
-
-
Constructor Summary
Constructors Constructor Description TimestampChecker(long outputLastModified, boolean rebuildOnStackExhaustion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetMustRebuild()booleanpreview(DependencyInfo parent, DependencyInfo[] children)Previews all the children of this source file.voidstackExhausted()Called if the dependency depth exhausted the stack.booleanvisit(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.DependencyVisitorPreviews all the children of this source file. May be called multiple times as DependencyInfo's for children are filled in.- Specified by:
previewin classDependencyTable.DependencyVisitor- Returns:
- true to continue towards recursion into included files
-
stackExhausted
public void stackExhausted()
Description copied from class:DependencyTable.DependencyVisitorCalled if the dependency depth exhausted the stack.- Specified by:
stackExhaustedin classDependencyTable.DependencyVisitor
-
visit
public boolean visit(DependencyInfo dependInfo)
Description copied from class:DependencyTable.DependencyVisitorVisits the dependency info.- Specified by:
visitin classDependencyTable.DependencyVisitor- Returns:
- true to continue towards recursion into included files
-
-