Package com.xebialabs.license
Class LicenseVersion4
- java.lang.Object
-
- com.xebialabs.license.License
-
- com.xebialabs.license.LicenseVersion4
-
public class LicenseVersion4 extends License
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLicenseVersion4.Edition4
-
Field Summary
Fields Modifier and Type Field Description static LicenseTypeVERSION-
Fields inherited from class com.xebialabs.license.License
LICENSE_PREAMBLE, MAX_TRIAL_LICENSE_VALIDITY, PRODUCT_OLD_DEPLOYIT, PRODUCT_XL_DEPLOY, PRODUCT_XL_RELEASE, PRODUCT_XL_TESTVIEW, PRODUCTS, values
-
-
Constructor Summary
Constructors Constructor Description LicenseVersion4(LicensePropertyMap values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<LicenseProperty>getLicenseProperties()LicenseTypegetLicenseVersion()java.util.List<LicenseProperty>getRequiredProperties()voidvalidateLicenseFormat()protected voidvalidateSpecific()-
Methods inherited from class com.xebialabs.license.License
getListValue, getLocalDateValue, getMapValue, getStringValue, hasLicenseProperty, isDateExpired, isDateExpired, isDummyLicense, preamble, toLicenseContent, toString, validateProperties
-
-
-
-
Field Detail
-
VERSION
public static final LicenseType VERSION
-
-
Constructor Detail
-
LicenseVersion4
public LicenseVersion4(LicensePropertyMap values) throws LicenseViolationException
- Throws:
LicenseViolationException
-
-
Method Detail
-
getLicenseVersion
public LicenseType getLicenseVersion()
- Specified by:
getLicenseVersionin classLicense
-
getLicenseProperties
public java.util.List<LicenseProperty> getLicenseProperties()
- Specified by:
getLicensePropertiesin classLicense
-
getRequiredProperties
public java.util.List<LicenseProperty> getRequiredProperties()
- Specified by:
getRequiredPropertiesin classLicense
-
validateLicenseFormat
public void validateLicenseFormat() throws LicenseViolationException- Overrides:
validateLicenseFormatin classLicense- Throws:
LicenseViolationException
-
validateSpecific
protected void validateSpecific()
- Overrides:
validateSpecificin classLicense
-
-