Class LynaUpdateResponse
java.lang.Object
de.eldoria.eldoutilities.updater.lynaupdater.LynaUpdateResponse
- All Implemented Interfaces:
UpdateResponse
Web Response for butler application.
- Since:
- 1.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionLynaUpdateResponse(boolean update, String latest, long published) Create a new Update check response. -
Method Summary
-
Constructor Details
-
LynaUpdateResponse
Create a new Update check response.- Parameters:
update- whether a new version is available or notlatest- latest available versionpublished-
-
-
Method Details
-
isUpdate
public boolean isUpdate() -
isOutdated
public boolean isOutdated()- Specified by:
isOutdatedin interfaceUpdateResponse
-
latestVersion
- Specified by:
latestVersionin interfaceUpdateResponse
-
published
public long published() -
publishedDuration
-