Class BinaryUpdateCheck

  • All Implemented Interfaces:
    java.io.Serializable

    public class BinaryUpdateCheck
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryUpdateCheck​(java.lang.String downloadUrl, int timeoutInMilliseconds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasModifiedSinceInstalled​(hudson.FilePath timestampFilePath)  
      boolean isUpToDate​(hudson.FilePath installedFrom, hudson.FilePath timestampPath, hudson.FilePath binaryPath)  
      • Methods inherited from class java.lang.Object

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

      • BinaryUpdateCheck

        public BinaryUpdateCheck​(java.lang.String downloadUrl,
                                 int timeoutInMilliseconds)
    • Method Detail

      • isUpToDate

        public boolean isUpToDate​(hudson.FilePath installedFrom,
                                  hudson.FilePath timestampPath,
                                  hudson.FilePath binaryPath)
                           throws java.io.IOException,
                                  java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • hasModifiedSinceInstalled

        public boolean hasModifiedSinceInstalled​(hudson.FilePath timestampFilePath)
                                          throws java.io.IOException,
                                                 java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException