Package com.xebialabs.license.service
Class LicenseServiceImpl
java.lang.Object
com.xebialabs.license.service.BaseLicenseService
com.xebialabs.license.service.AbstractLicenseService
com.xebialabs.license.service.LicenseServiceImpl
- All Implemented Interfaces:
com.xebialabs.license.service.LicenseService
-
Field Summary
Fields inherited from class com.xebialabs.license.service.AbstractLicenseService
allowedEditions, allowedLicenseTypes, clock, license, licenseFile, product, repositoryMetadataServiceFields inherited from class com.xebialabs.license.service.BaseLicenseService
ciCounter, ciCounterFactory -
Constructor Summary
ConstructorsConstructorDescriptionLicenseServiceImpl(String licensePath, String product, com.xebialabs.deployit.repository.RepositoryMetadataService repositoryMetadataService) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.xebialabs.license.LicensereadLicense(File licenseFile) Methods inherited from class com.xebialabs.license.service.AbstractLicenseService
getLicense, getProduct, getValidPeriod, initialize, isAllowedLicenseType, isLicenseExpired, isValidEdition, logLicenseEditionError, logLicenseError, logLicenseVersionError, reload, validate, validate, validateLicensePropertiesMethods inherited from class com.xebialabs.license.service.BaseLicenseService
getCounter, initialize, reLoadCiCounter, rollbackTransaction, startTransactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.license.service.LicenseService
getCounter, rollbackTransaction, startTransaction
-
Constructor Details
-
LicenseServiceImpl
public LicenseServiceImpl(String licensePath, String product, com.xebialabs.deployit.repository.RepositoryMetadataService repositoryMetadataService) throws IOException, com.xebialabs.license.LicenseParseException, com.xebialabs.license.LicenseViolationException - Throws:
IOExceptioncom.xebialabs.license.LicenseParseExceptioncom.xebialabs.license.LicenseViolationException
-
-
Method Details
-
readLicense
protected com.xebialabs.license.License readLicense(File licenseFile) throws com.xebialabs.license.LicenseParseException, com.xebialabs.license.LicenseViolationException - Specified by:
readLicensein classAbstractLicenseService- Throws:
com.xebialabs.license.LicenseParseExceptioncom.xebialabs.license.LicenseViolationException
-