public final class DependencyTable extends Object
Modifier and Type | Class and Description |
---|---|
class |
DependencyTable.DependencyVisitor |
class |
DependencyTable.TimestampChecker |
Constructor and Description |
---|
DependencyTable(File baseDir)
Creates a target history table from dependencies.xml in the prject
directory, if it exists.
|
Modifier and Type | Method and Description |
---|---|
void |
commit(CCTask task) |
Enumeration |
elements()
Returns an enumerator of DependencyInfo's
|
DependencyInfo |
getDependencyInfo(String sourceRelativeName,
String includePathIdentifier)
This method returns a DependencyInfo for the specific source file and
include path identifier
|
void |
load() |
boolean |
needsRebuild(CCTask task,
TargetInfo target,
int dependencyDepth)
Determines if the specified target needs to be rebuilt.
|
DependencyInfo |
parseIncludes(CCTask task,
CompilerConfiguration compiler,
File source) |
void |
walkDependencies(CCTask task,
DependencyInfo dependInfo,
CompilerConfiguration compiler,
DependencyInfo[] stack,
DependencyTable.DependencyVisitor visitor) |
public DependencyTable(File baseDir)
baseDir
- output directory for taskpublic void commit(CCTask task)
public Enumeration elements()
public DependencyInfo getDependencyInfo(String sourceRelativeName, String includePathIdentifier)
public void load() throws IOException, ParserConfigurationException, SAXException
public boolean needsRebuild(CCTask task, TargetInfo target, int dependencyDepth)
public DependencyInfo parseIncludes(CCTask task, CompilerConfiguration compiler, File source)
public void walkDependencies(CCTask task, DependencyInfo dependInfo, CompilerConfiguration compiler, DependencyInfo[] stack, DependencyTable.DependencyVisitor visitor) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.