Package ch.autumo.commons.application
Interface RegistrationVersion
- All Known Implementing Classes:
AbstractVersion
public interface RegistrationVersion
Registration version. A registration version is not the current app-version,
it is the version that represents as major release on which minor releases
can be upgraded. The registration version is part of the license key.
A registration version differs from the application/product version;
Several application/product versions can have the same registration
version. The same registration version means, that there's no new
license necessary, even there are application/product upgrades.
Whenever a new registration version is introduced, a new license and
registration is necessary and a new registration version has to be setup
within the registration server.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a compressed version string: E.g. "1.2.0" -> "120".The registration key stays the same for the same product.Get the salt which is a combination of version and key.Registration version ('x.y.z'), e.g. "1.0.0".
-
Method Details
-
getKeyRegistrationVersion
String getKeyRegistrationVersion()Return a compressed version string: E.g. "1.2.0" -> "120".- Returns:
- registered key version representation.
-
getRegistrationVersion
String getRegistrationVersion()Registration version ('x.y.z'), e.g. "1.0.0". Change this if you want to jump to a new license key (purchase necessary).- Returns:
- registration version
-
getRegistrationKey
String getRegistrationKey()The registration key stays the same for the same product. Use different keys for different applications! (length = 25 characters)- Returns:
- registration version
-
getRegistrationSalt
String getRegistrationSalt()Get the salt which is a combination of version and key.- Returns:
- registration version salt
-