Package de.eldoria.eldoutilities.updater
Class DefaultUpdateResponse
java.lang.Object
de.eldoria.eldoutilities.updater.DefaultUpdateResponse
- All Implemented Interfaces:
UpdateResponse
-
Constructor Summary
ConstructorDescriptionDefaultUpdateResponse
(boolean update, String latest) Create a new Update check response. -
Method Summary
-
Constructor Details
-
DefaultUpdateResponse
Create a new Update check response.- Parameters:
update
- whether a new version is available or notlatest
- latest available version
-
-
Method Details
-
create
-
isOutdated
public boolean isOutdated()- Specified by:
isOutdated
in interfaceUpdateResponse
-
latestVersion
- Specified by:
latestVersion
in interfaceUpdateResponse
-