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
-
-
Field Summary
Fields Modifier and Type Field Description private ProcessorConfiguration
config
private static java.io.File[]
emptyFileArray
private java.io.File
output
private boolean
rebuild
private java.io.File[]
sources
private java.io.File[]
sysSources
-
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()
-
-
-
Field Detail
-
emptyFileArray
private static final java.io.File[] emptyFileArray
-
config
private ProcessorConfiguration config
-
output
private java.io.File output
-
rebuild
private boolean rebuild
-
sources
private java.io.File[] sources
-
sysSources
private java.io.File[] sysSources
-
-
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()
-
-