Class BinaryUpdateCheck
- java.lang.Object
-
- io.jenkins.plugins.sigma.extension.tool.BinaryUpdateCheck
-
- All Implemented Interfaces:
Serializable
public class BinaryUpdateCheck extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinaryUpdateCheck(String downloadUrl, int timeoutInMilliseconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasModifiedSinceInstalled(FilePath timestampFilePath)
boolean
isUpToDate(FilePath installedFrom, FilePath timestampPath, FilePath binaryPath)
-
-
-
Constructor Detail
-
BinaryUpdateCheck
public BinaryUpdateCheck(String downloadUrl, int timeoutInMilliseconds)
-
-
Method Detail
-
isUpToDate
public boolean isUpToDate(FilePath installedFrom, FilePath timestampPath, FilePath binaryPath) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
hasModifiedSinceInstalled
public boolean hasModifiedSinceInstalled(FilePath timestampFilePath) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-