public class DownloadExecutionResult extends Object
| Constructor and Description |
|---|
DownloadExecutionResult(boolean newFileDownloaded,
Boolean md5MatchesSource,
MD5Checksum targetFileMd5,
URI fileLocation,
boolean successful) |
DownloadExecutionResult(boolean newFileDownloaded,
Optional<Boolean> md5MatchesSource,
Optional<MD5Checksum> targetFileMd5,
URI fileLocation,
boolean successful) |
DownloadExecutionResult(boolean newFileDownloaded,
URI fileLocation,
boolean successful) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getFileLocation() |
Optional<Boolean> |
getMd5MatchesSource() |
Optional<MD5Checksum> |
getTargetFileMd5() |
boolean |
isNewFileDownloaded() |
boolean |
isSuccessful() |
public DownloadExecutionResult(boolean newFileDownloaded,
Optional<Boolean> md5MatchesSource,
Optional<MD5Checksum> targetFileMd5,
URI fileLocation,
boolean successful)
public DownloadExecutionResult(boolean newFileDownloaded,
Boolean md5MatchesSource,
MD5Checksum targetFileMd5,
URI fileLocation,
boolean successful)
public DownloadExecutionResult(boolean newFileDownloaded,
URI fileLocation,
boolean successful)
public boolean isNewFileDownloaded()
public URI getFileLocation()
public boolean isSuccessful()
public Optional<MD5Checksum> getTargetFileMd5()
Copyright © 2021. All rights reserved.