Class LicenseDetailsImpl

    • Constructor Detail

      • LicenseDetailsImpl

        public LicenseDetailsImpl​(int version,
                                  java.util.List<LicenseRestriction> restrictions)
    • Method Detail

      • getLicenseDetail

        public java.lang.String getLicenseDetail​(java.lang.String key)
        Description copied from interface: LicenseDetails
        The value of the LicenseRestriction with the given name.
        Specified by:
        getLicenseDetail in interface LicenseDetails
      • getVersion

        public int getVersion()
        Description copied from interface: LicenseDetails
        The major version number that this license is good for
        Specified by:
        getVersion in interface LicenseDetails
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object