net.sf.antcontrib.cpptasks

Class TargetInfo


public final class TargetInfo
extends java.lang.Object

A description of a file built or to be built

Constructor Summary

TargetInfo(ProcessorConfiguration config, File[] sources, File[] sysSources, File output, boolean rebuild)

Method Summary

String[]
getAllSourcePaths()
File[]
getAllSources()
ProcessorConfiguration
getConfiguration()
File
getOutput()
boolean
getRebuild()
SourceHistory[]
getSourceHistories(String basePath)
Returns an array of SourceHistory objects (contains relative path and last modified time) for the source[s] of this target
String[]
getSourcePaths()
File[]
getSources()
String[]
getSysSourcePaths()
File[]
getSysSources()
void
mustRebuild()

Constructor Details

TargetInfo

public TargetInfo(ProcessorConfiguration config,
                  File[] sources,
                  File[] sysSources,
                  File output,
                  boolean rebuild)

Method Details

getAllSourcePaths

public String[] getAllSourcePaths()

getAllSources

public File[] getAllSources()

getConfiguration

public ProcessorConfiguration getConfiguration()

getOutput

public File getOutput()

getRebuild

public boolean getRebuild()

getSourceHistories

public SourceHistory[] getSourceHistories(String basePath)
Returns an array of SourceHistory objects (contains relative path and last modified time) for the source[s] of this target

getSourcePaths

public String[] getSourcePaths()

getSources

public File[] getSources()

getSysSourcePaths

public String[] getSysSourcePaths()

getSysSources

public File[] getSysSources()

mustRebuild

public void mustRebuild()

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