org.apache.torque.util
Class ChangeDetector
java.lang.Object
org.apache.torque.util.ChangeDetector
public class ChangeDetector
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
controlFile
File controlFile
files
List<File> files
ChangeDetector
public ChangeDetector()
ChangeDetector
public ChangeDetector(File controlFile,
List<File> files)
isChanged
public boolean isChanged()
- Return true if any file in the list of files has a last modified timestamp newer than the control file or if the
control file does not exist
getControlFile
public File getControlFile()
setControlFile
public void setControlFile(File controlFile)
getFiles
public List<File> getFiles()
setFiles
public void setFiles(List<File> files)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.