public final class TargetHistoryTable extends Object
Constructor and Description |
---|
TargetHistoryTable(CCTask task,
File outputDir)
Creates a target history table from history.xml in the output directory,
if it exists.
|
Modifier and Type | Method and Description |
---|---|
void |
commit() |
TargetHistory |
get(String configId,
String outputName) |
File |
getHistoryFile() |
void |
markForRebuild(Map targetInfos) |
void |
markForRebuild(TargetInfo targetInfo) |
void |
update(ProcessorConfiguration config,
String[] sources,
VersionInfo versionInfo) |
void |
update(TargetInfo linkTarget) |
public TargetHistoryTable(CCTask task, File outputDir) throws org.apache.tools.ant.BuildException
task
- task used for logging history load errorsoutputDir
- output directory for taskorg.apache.tools.ant.BuildException
public File getHistoryFile()
public void commit() throws IOException
IOException
public TargetHistory get(String configId, String outputName)
public void markForRebuild(Map targetInfos)
public void markForRebuild(TargetInfo targetInfo)
public void update(ProcessorConfiguration config, String[] sources, VersionInfo versionInfo)
public void update(TargetInfo linkTarget)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.