org.gudy.azureus2.plugins.utils
Interface FeatureManager.FeatureDetails

Enclosing interface:
FeatureManager

public static interface FeatureManager.FeatureDetails


Field Summary
static String PR_FINGERPRINT
           
static String PR_IS_INSTALL_TIME
           
static String PR_IS_TRIAL
           
static String PR_OFFLINE_VALID_UNTIL
           
static String PR_PUBLIC_KEY
           
static String PR_RENEWAL_KEY
           
static String PR_REQUIRED_PLUGINS
           
static String PR_TRIAL_USES_FAIL_COUNT
           
static String PR_TRIAL_USES_LIMIT
           
static String PR_TRIAL_USES_REMAINING
           
static String PR_VALID_UNTIL
           
 
Method Summary
 byte[] getEncodedProperties()
           
 String getID()
           
 FeatureManager.Licence getLicence()
           
 Object getProperty(String propery_name)
           
 byte[] getSignature()
           
 boolean hasExpired()
          Returns true if offline expired or overall expired.
 void setProperty(String property_name, Object property_value)
           
 

Field Detail

PR_PUBLIC_KEY

static final String PR_PUBLIC_KEY
See Also:
Constant Field Values

PR_VALID_UNTIL

static final String PR_VALID_UNTIL
See Also:
Constant Field Values

PR_OFFLINE_VALID_UNTIL

static final String PR_OFFLINE_VALID_UNTIL
See Also:
Constant Field Values

PR_IS_INSTALL_TIME

static final String PR_IS_INSTALL_TIME
See Also:
Constant Field Values

PR_IS_TRIAL

static final String PR_IS_TRIAL
See Also:
Constant Field Values

PR_TRIAL_USES_LIMIT

static final String PR_TRIAL_USES_LIMIT
See Also:
Constant Field Values

PR_TRIAL_USES_FAIL_COUNT

static final String PR_TRIAL_USES_FAIL_COUNT
See Also:
Constant Field Values

PR_TRIAL_USES_REMAINING

static final String PR_TRIAL_USES_REMAINING
See Also:
Constant Field Values

PR_REQUIRED_PLUGINS

static final String PR_REQUIRED_PLUGINS
See Also:
Constant Field Values

PR_FINGERPRINT

static final String PR_FINGERPRINT
See Also:
Constant Field Values

PR_RENEWAL_KEY

static final String PR_RENEWAL_KEY
See Also:
Constant Field Values
Method Detail

getLicence

FeatureManager.Licence getLicence()

getID

String getID()

hasExpired

boolean hasExpired()
Returns true if offline expired or overall expired. NOT to be used by verified plugins, they must do the check explicitly using the signed properties

Returns:

getEncodedProperties

byte[] getEncodedProperties()

getSignature

byte[] getSignature()

getProperty

Object getProperty(String propery_name)

setProperty

void setProperty(String property_name,
                 Object property_value)