Interface DescriptorDAO

    • Method Detail

      • getDescriptor

        Descriptor getDescriptor()
        Create repository descriptor.
        Returns:
        descriptor
      • updateDescriptor

        Descriptor updateDescriptor​(Descriptor serverDescriptor,
                                    RepoUsage.LicenseMode licenseMode)
        Push the current server descriptor properties into persistence.
        Parameters:
        serverDescriptor - the current server descriptor
        Returns:
        the descriptor
      • getLicenseKey

        byte[] getLicenseKey()
        Gets the license key.
        Returns:
        the license key
      • updateLicenseKey

        void updateLicenseKey​(byte[] key)
        Update license key.
        Parameters:
        key - the key