Class DefaultPolymartLicenseFetcher
java.lang.Object
me.hsgamer.hscore.license.polymart.DefaultPolymartLicenseFetcher
- All Implemented Interfaces:
PolymartLicenseFetcher
The default
PolymartLicenseFetcher-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultPolymartLicenseFetcher
public DefaultPolymartLicenseFetcher()
-
-
Method Details
-
getUser
-
getUsername
-
getResource
-
getResourceVersion
-
getNonce
-
getVerifyToken
-
getLicense
-
getAgent
-
getTimestamp
-
getAvailableIdentifier
-
isAvailable
public boolean isAvailable()Description copied from interface:PolymartLicenseFetcherCheck if the fetcher is available- Specified by:
isAvailablein interfacePolymartLicenseFetcher- Returns:
- true if it's available
-
fetchLicense
Description copied from interface:PolymartLicenseFetcherFetch the license entry- Specified by:
fetchLicensein interfacePolymartLicenseFetcher- Returns:
- the license entry
-