Class DirectorySnapshot

  • All Implemented Interfaces:
    java.io.Serializable

    public class DirectorySnapshot
    extends java.lang.Object
    implements java.io.Serializable
    Calculates the hash value of all files in a directory as snapshot
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHash()  
      boolean isUpToDate​(java.io.File projectRoot, java.io.File targetDir)  
      static DirectorySnapshot of​(java.io.File projectRoot, java.io.File targetDir)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • of

        public static DirectorySnapshot of​(java.io.File projectRoot,
                                           java.io.File targetDir)
      • isUpToDate

        public boolean isUpToDate​(java.io.File projectRoot,
                                  java.io.File targetDir)
      • getHash

        public java.lang.String getHash()