net.sf.antcontrib.cpptasks

Class DependencyTable.TimestampChecker

Enclosing Class:
DependencyTable

public class DependencyTable.TimestampChecker
extends DependencyTable.DependencyVisitor

Constructor Summary

TimestampChecker(long outputLastModified, boolean rebuildOnStackExhaustion)

Method Summary

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.

Methods inherited from class net.sf.antcontrib.cpptasks.DependencyTable.DependencyVisitor

preview, stackExhausted, visit

Constructor Details

TimestampChecker

public TimestampChecker(long outputLastModified,
                        boolean rebuildOnStackExhaustion)

Method Details

getMustRebuild

public boolean getMustRebuild()

preview

public boolean preview(DependencyInfo parent,
                       DependencyInfo[] children)
Previews all the children of this source file. May be called multiple times as DependencyInfo's for children are filled in.
Overrides:
preview in interface DependencyTable.DependencyVisitor
Returns:
true to continue towards recursion into included files

stackExhausted

public void stackExhausted()
Called if the dependency depth exhausted the stack.
Overrides:
stackExhausted in interface DependencyTable.DependencyVisitor

visit

public boolean visit(DependencyInfo dependInfo)
Visits the dependency info.
Overrides:
visit in interface DependencyTable.DependencyVisitor

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.