Class LicenseInfo


  • public class LicenseInfo
    extends Object
    • Constructor Detail

      • LicenseInfo

        public LicenseInfo​(LicenseType type,
                           long generationDate,
                           long expirationDate,
                           String owner,
                           String context,
                           byte[] sha)
    • Method Detail

      • retrieveQuick

        public static LicenseInfo retrieveQuick()
      • retrieveNamedOrDistributorQuickIsValid

        public static boolean retrieveNamedOrDistributorQuickIsValid()
      • retrieveNamedSlow

        public static LicenseInfo retrieveNamedSlow()
      • retrieveDistributor

        public static LicenseInfo retrieveDistributor()
      • main

        public static void main​(String[] args)
      • getGenerationDate

        public final Date getGenerationDate()
      • getExpirationDate

        public final Date getExpirationDate()
      • getOwner

        public final String getOwner()
      • isNone

        public boolean isNone()
      • isValid

        public boolean isValid()
      • hasExpired

        public boolean hasExpired()
      • getLicenseType

        public final LicenseType getLicenseType()
      • getContext

        public final String getContext()