Class DownloadExecutionResult
- java.lang.Object
-
- technology.dice.dicewhere.downloader.actions.DownloadExecutionResult
-
public class DownloadExecutionResult extends Object
-
-
Constructor Summary
Constructors Constructor Description DownloadExecutionResult(boolean newFileDownloaded, Boolean md5MatchesSource, MD5Checksum targetFileMd5, URI fileLocation, boolean successful)DownloadExecutionResult(boolean newFileDownloaded, URI fileLocation, boolean successful)DownloadExecutionResult(boolean newFileDownloaded, Optional<Boolean> md5MatchesSource, Optional<MD5Checksum> targetFileMd5, URI fileLocation, boolean successful)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetFileLocation()Optional<Boolean>getMd5MatchesSource()Optional<MD5Checksum>getTargetFileMd5()booleanisNewFileDownloaded()booleanisSuccessful()
-
-
-
Constructor Detail
-
DownloadExecutionResult
public DownloadExecutionResult(boolean newFileDownloaded, Optional<Boolean> md5MatchesSource, Optional<MD5Checksum> targetFileMd5, URI fileLocation, boolean successful)
-
DownloadExecutionResult
public DownloadExecutionResult(boolean newFileDownloaded, Boolean md5MatchesSource, MD5Checksum targetFileMd5, URI fileLocation, boolean successful)
-
DownloadExecutionResult
public DownloadExecutionResult(boolean newFileDownloaded, URI fileLocation, boolean successful)
-
-
Method Detail
-
isNewFileDownloaded
public boolean isNewFileDownloaded()
-
getFileLocation
public URI getFileLocation()
-
isSuccessful
public boolean isSuccessful()
-
getTargetFileMd5
public Optional<MD5Checksum> getTargetFileMd5()
-
-