public interface FeatureDefinition
LicenseDefinition.getFeatures()
Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getCount()
Returns the number of tokens for this feature.
|
ExpirationDate |
getExpirationDate()
Returns the expiration date of the feature.
|
Optional<String> |
getHostId()
Returns the host information on which this feature is locked to.
|
String |
getName()
Returns the feature name;
|
String |
getVersion()
Returns the feature version.
|
boolean |
isUncounted()
Determines whether the feature has unlimited tokens or a specific number.
|
String getName()
String getVersion()
Optional<String> getHostId()
Optional.empty()
if none.boolean isUncounted()
true
if the feature has unlimited tokens, false otherwise
getCount()
Optional<Integer> getCount()
Optional.empty()
.Optional.empty()
if he feature has unlimited tokens.isUncounted()
ExpirationDate getExpirationDate()