| Package | Description |
|---|---|
| net.nicholaswilliams.java.licensing |
| Modifier and Type | Method and Description |
|---|---|
License.Builder |
License.Builder.addFeature(License.Feature feature)
Adds the existing feature object to this license.
|
License.Builder |
License.Builder.addFeature(String featureName)
Adds a feature to this license with no expiration date.
|
License.Builder |
License.Builder.addFeature(String featureName,
long goodBeforeDate)
Adds a feature to this license with the specified expiration date (millisecond timestamp).
|
License.Builder |
License.Builder.withFeature(License.Feature feature)
Deprecated.
|
License.Builder |
License.Builder.withFeature(String featureName)
Deprecated.
|
License.Builder |
License.Builder.withFeature(String featureName,
long goodBeforeDate)
Deprecated.
|
License.Builder |
License.Builder.withGoodAfterDate(long goodAfterDate)
Sets the valid date (millisecond timestamp) for this license (usually the equal or close to the issue date,
but that is not required.)
|
License.Builder |
License.Builder.withGoodBeforeDate(long goodBeforeDate)
Sets the expiration date (millisecond timestamp) for this license.
|
License.Builder |
License.Builder.withHolder(String holder)
Sets the holder for this license.
|
License.Builder |
License.Builder.withIssueDate(long issueDate)
Sets the issue date (millisecond timestamp) for this license.
|
License.Builder |
License.Builder.withIssuer(String issuer)
Sets the issuer for this license.
|
License.Builder |
License.Builder.withNumberOfLicenses(int numberOfLicenses)
Sets the number of licenses/seats/users this license is good for.
|
License.Builder |
License.Builder.withProductKey(String productKey)
Sets the product key for this license.
|
License.Builder |
License.Builder.withSubject(String subject)
Sets the subject for this license.
|
Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.