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
ConstructorDescriptionLynaUpdateResponse
(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:
isOutdated
in interfaceUpdateResponse
-
latestVersion
- Specified by:
latestVersion
in interfaceUpdateResponse
-
published
public long published() -
publishedDuration
-