Package com.xebialabs.license
Class License
java.lang.Object
com.xebialabs.license.License
- Direct Known Subclasses:
LicenseVersion3,LicenseVersion4,MarketplaceLicense
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<LicenseProperty>abstract LicenseTypegetListValue(LicenseProperty property) org.joda.time.LocalDateabstract List<LicenseProperty>booleanbooleanbooleanisDateExpired(org.joda.time.LocalDate now) booleanpreamble()toString()voidprotected voidprotected void
-
Field Details
-
PRODUCT_XL_DEPLOY
- See Also:
-
PRODUCT_OLD_DEPLOYIT
- See Also:
-
PRODUCT_XL_RELEASE
- See Also:
-
PRODUCT_XL_TESTVIEW
- See Also:
-
LICENSE_PREAMBLE
- See Also:
-
PRODUCTS
-
MAX_TRIAL_LICENSE_VALIDITY
public static final int MAX_TRIAL_LICENSE_VALIDITY- See Also:
-
values
-
-
Constructor Details
-
License
- Throws:
LicenseViolationException
-
-
Method Details
-
getLicenseProperties
-
getRequiredProperties
-
getLicenseVersion
-
preamble
-
validateSpecific
protected void validateSpecific() -
validateProperties
- Throws:
MissingLicensePropertyException
-
validateLicenseFormat
- Throws:
LicenseViolationException
-
isDateExpired
public boolean isDateExpired() -
isDateExpired
public boolean isDateExpired(org.joda.time.LocalDate now) -
getStringValue
-
isDummyLicense
public boolean isDummyLicense() -
getLocalDateValue
-
getMapValue
-
getListValue
-
hasLicenseProperty
-
toLicenseContent
-
toString
-