public final class LicensedComponent extends Object
Modifier and Type | Method and Description |
---|---|
String |
getCustomerID()
Gets the customer ID from the license information.
|
ZonedDateTime |
getExpirationDate()
Gets the expiration date of the component, or
a date with a year of 9999
if the component does not expire.
|
String |
getField(String name)
Gets a field from the license information for this component, such as Name.
|
boolean |
getIsExpired()
Gets a value indicating whether this component is expired.
|
String |
getName()
Gets the name of the component.
|
@Nonnull public final ZonedDateTime getExpirationDate()
public final boolean getIsExpired()
@Nullable public final String getField(@Nonnull String name)
name
- The name of the field to retrieve.null
if not found.