Package net.sf.antcontrib.cpptasks
Class DependencyInfo
- java.lang.Object
-
- net.sf.antcontrib.cpptasks.DependencyInfo
-
public final class DependencyInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private longcompositeLastModifiedLast modified time of this file or anything that it depends on.private java.lang.StringincludePathIdentifierprivate java.lang.String[]includesprivate java.lang.Stringsourceprivate longsourceLastModifiedprivate java.lang.String[]sysIncludes
-
Constructor Summary
Constructors Constructor Description DependencyInfo(java.lang.String includePathIdentifier, java.lang.String source, long sourceLastModified, java.util.Vector includes, java.util.Vector sysIncludes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCompositeLastModified()Returns the latest modification date of the source or anything that it depends on.java.lang.StringgetIncludePathIdentifier()java.lang.String[]getIncludes()java.lang.StringgetSource()longgetSourceLastModified()java.lang.String[]getSysIncludes()voidsetCompositeLastModified(long lastMod)
-
-
-
Field Detail
-
compositeLastModified
private long compositeLastModified
Last modified time of this file or anything that it depends on. Not persisted since almost any change could invalidate it. Initialized to long.MIN_VALUE on construction.
-
includePathIdentifier
private java.lang.String includePathIdentifier
-
includes
private java.lang.String[] includes
-
source
private java.lang.String source
-
sourceLastModified
private long sourceLastModified
-
sysIncludes
private java.lang.String[] sysIncludes
-
-
Method Detail
-
getCompositeLastModified
public long getCompositeLastModified()
Returns the latest modification date of the source or anything that it depends on.- Returns:
- the composite lastModified time, returns Long.MIN_VALUE if not set
-
getIncludePathIdentifier
public java.lang.String getIncludePathIdentifier()
-
getIncludes
public java.lang.String[] getIncludes()
-
getSource
public java.lang.String getSource()
-
getSourceLastModified
public long getSourceLastModified()
-
getSysIncludes
public java.lang.String[] getSysIncludes()
-
setCompositeLastModified
public void setCompositeLastModified(long lastMod)
-
-