Package net.sf.antcontrib.cpptasks
Class TargetInfo
- java.lang.Object
-
- net.sf.antcontrib.cpptasks.TargetInfo
-
public final class TargetInfo extends java.lang.Object
A description of a file built or to be built
-
-
Constructor Summary
Constructors Constructor Description TargetInfo(ProcessorConfiguration config, java.io.File[] sources, java.io.File[] sysSources, java.io.File output, boolean rebuild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getAllSourcePaths()
java.io.File[]
getAllSources()
ProcessorConfiguration
getConfiguration()
java.io.File
getOutput()
boolean
getRebuild()
SourceHistory[]
getSourceHistories(java.lang.String basePath)
Returns an array of SourceHistory objects (contains relative path and last modified time) for the source[s] of this targetjava.lang.String[]
getSourcePaths()
java.io.File[]
getSources()
java.lang.String[]
getSysSourcePaths()
java.io.File[]
getSysSources()
void
mustRebuild()
-
-
-
Constructor Detail
-
TargetInfo
public TargetInfo(ProcessorConfiguration config, java.io.File[] sources, java.io.File[] sysSources, java.io.File output, boolean rebuild)
-
-
Method Detail
-
getAllSourcePaths
public java.lang.String[] getAllSourcePaths()
-
getAllSources
public java.io.File[] getAllSources()
-
getConfiguration
public ProcessorConfiguration getConfiguration()
-
getOutput
public java.io.File getOutput()
-
getRebuild
public boolean getRebuild()
-
getSourceHistories
public SourceHistory[] getSourceHistories(java.lang.String basePath)
Returns an array of SourceHistory objects (contains relative path and last modified time) for the source[s] of this target
-
getSourcePaths
public java.lang.String[] getSourcePaths()
-
getSources
public java.io.File[] getSources()
-
getSysSourcePaths
public java.lang.String[] getSysSourcePaths()
-
getSysSources
public java.io.File[] getSysSources()
-
mustRebuild
public void mustRebuild()
-
-