class ObjectFileDeps
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.io.File> |
fileObjs
The object file.
|
private java.util.List<InfoFileDependencies> |
newerFiles
List of all newer (changed) source files.
|
private char |
objIsDeleted
State of deleting the object:
'
|
private long |
timestampSrcNewest |
static int |
version
Version, history and license.
|
Modifier | Constructor and Description |
---|---|
private |
ObjectFileDeps(java.io.File fileObj) |
(package private) |
ObjectFileDeps(java.io.File dirObjRoot,
java.lang.String sLocalPath,
java.lang.String sExtObj)
Creates an instance.
|
(package private) |
ObjectFileDeps(java.util.List<java.lang.String> dirObjRoots,
java.lang.String sLocalPath)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
createObjDir(MainCmdLogging_ifc console) |
boolean |
isObjDeleted()
Returns true if the object file was deleted because newer files
'n': is not found, but should deleted because newer files.
|
boolean |
isObjRecompile()
Returns true if the object file may deleted because newer files
|
(package private) boolean |
notifyNewer(InfoFileDependencies infoFile,
MainCmdLogging_ifc console) |
(package private) void |
storeChangedSource(java.lang.String sFile) |
public static final int version
ObjectFileDeps(File, String, String)
for one Object directory.
private final java.util.List<java.io.File> fileObjs
private long timestampSrcNewest
private char objIsDeleted
private final java.util.List<InfoFileDependencies> newerFiles
private ObjectFileDeps(java.io.File fileObj)
ObjectFileDeps(java.io.File dirObjRoot, java.lang.String sLocalPath, java.lang.String sExtObj)
dirObjRoot
- File object to the object root directory. It should be a directory.
It does not need existing.sLocalPath
- The file path and name.ext of the source file as local path.
It is used as object path, without the extension.sExtObj
- Extension for object files inclusively dot, usual ".obj" or ".o"ObjectFileDeps(java.util.List<java.lang.String> dirObjRoots, java.lang.String sLocalPath) throws java.io.FileNotFoundException
dirObjRoots
- List of Strings in form "path/to/objdir/*.obj"
The object-file(s) are build with replacement of "*" with the sLocalPath without extensionsLocalPath
- The file path and name.ext of the source file as local path.
It is used as object path, without the extension.java.io.FileNotFoundException
void storeChangedSource(java.lang.String sFile)
boolean notifyNewer(InfoFileDependencies infoFile, MainCmdLogging_ifc console)
public void createObjDir(MainCmdLogging_ifc console)
public boolean isObjDeleted()
public boolean isObjRecompile()