| Package | Description |
|---|---|
| net.nicholaswilliams.java.licensing |
| Modifier and Type | Class and Description |
|---|---|
static class |
License.Feature
A class that represents a licensed feature.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
License.hasLicenseForAllFeatures(FeatureObject... features)
Checks if all of the features specified are licensed in this license.
|
boolean |
License.hasLicenseForAllFeatures(long currentDate,
FeatureObject... features)
Checks if all of the features specified are licensed in this license.
|
boolean |
LicenseManager.hasLicenseForAllFeatures(Object context,
FeatureObject... features)
Checks whether the license assigned to the specified context is licensed to use all of the features specified.
|
boolean |
License.hasLicenseForAnyFeature(FeatureObject... features)
Checks if all of the features specified are licensed in this license.
|
boolean |
License.hasLicenseForAnyFeature(long currentDate,
FeatureObject... features)
Checks if all of the features specified are licensed in this license.
|
boolean |
LicenseManager.hasLicenseForAnyFeature(Object context,
FeatureObject... features)
Checks whether the license assigned to the specified context is licensed to use any of the features specified.
|
boolean |
License.hasLicenseForFeature(FeatureObject feature)
Checks if the feature specified is licensed.
|
boolean |
License.hasLicenseForFeature(long currentDate,
FeatureObject feature)
Checks if the feature specified is licensed.
|
boolean |
LicenseManager.hasLicenseForFeature(Object context,
FeatureObject feature)
Checks whether the license assigned to the specified context is licensed to use the feature specified.
|
Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.