Class LicenseServiceImpl

  • All Implemented Interfaces:
    com.xebialabs.license.service.LicenseService

    public class LicenseServiceImpl
    extends AbstractLicenseService
    • Constructor Detail

      • LicenseServiceImpl

        public LicenseServiceImpl​(java.lang.String licensePath,
                                  java.lang.String product,
                                  com.xebialabs.deployit.repository.RepositoryMetadataService repositoryMetadataService)
                           throws java.io.IOException,
                                  com.xebialabs.license.LicenseParseException,
                                  com.xebialabs.license.LicenseViolationException
        Throws:
        java.io.IOException
        com.xebialabs.license.LicenseParseException
        com.xebialabs.license.LicenseViolationException
    • Method Detail

      • readLicense

        protected com.xebialabs.license.License readLicense​(java.io.File licenseFile)
                                                     throws com.xebialabs.license.LicenseParseException,
                                                            com.xebialabs.license.LicenseViolationException
        Specified by:
        readLicense in class AbstractLicenseService
        Throws:
        com.xebialabs.license.LicenseParseException
        com.xebialabs.license.LicenseViolationException