de.schlichtherle.license.ftp
Class AbstractLicenseParam
java.lang.Object
de.schlichtherle.license.DefaultLicenseParam
de.schlichtherle.license.ftp.AbstractLicenseParam
- All Implemented Interfaces:
- LicenseParam
public abstract class AbstractLicenseParam
- extends DefaultLicenseParam
- implements LicenseParam
This is a convenience class implementing some methods of the
LicenseParam interface.
- Author:
- Christian Schlichtherle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ftpDays
private final int ftpDays
ftpKeyStoreParam
private final KeyStoreParam ftpKeyStoreParam
LICENSE_CONTENT_INFO
private static final String LICENSE_CONTENT_INFO
AbstractLicenseParam
protected AbstractLicenseParam(String subject,
Preferences preferences,
KeyStoreParam keyStoreParam,
KeyStoreParam ftpKeyStoreParam,
int ftpDays,
CipherParam cipherParam)
- Creates a new instance of AbstractLicenseParam.
- Parameters:
subject - The licensing subject
to be returned by DefaultLicenseParam.getSubject().preferences - The preferences node used to store the license key
to be returned by DefaultLicenseParam.getPreferences().keyStoreParam - The key store parameters
to be returned by DefaultLicenseParam.getKeyStoreParam().cipherParam - The cipher parameters
to be returned by DefaultLicenseParam.getCipherParam().
createFTPLicenseContent
public LicenseContent createFTPLicenseContent()
- Description copied from interface:
LicenseParam
- Returns a newly created and initialized license content suitable for a
free trial period license -
null is never returned.
The subject and the expire date do not need to be initialized.
This will happen outside of this method.
getFTPDays
public int getFTPDays()
- Description copied from interface:
LicenseParam
- Returns the duration of the free trial period in days.
Must be greater than 0 and less than a year.
getFTPKeyStoreParam
public KeyStoreParam getFTPKeyStoreParam()
- Description copied from interface:
LicenseParam
- Returns the keystore configuration parameters for the free trial period
license.
The
KeyStoreParam instance returned by this call must not
equal() the one returned by LicenseParam.getKeyStoreParam().
Copyright © 2005-2015 Schlichtherle IT Services. All Rights Reserved.