Enum LicenseType

    • Enum Constant Detail

      • COPYRIGHTED

        public static final LicenseType COPYRIGHTED
      • PUBLIC_DOMAIN

        public static final LicenseType PUBLIC_DOMAIN
      • CREATIVECOMMONS_ATTRIBUTION

        public static final LicenseType CREATIVECOMMONS_ATTRIBUTION
      • CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE

        public static final LicenseType CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE
      • CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES

        public static final LicenseType CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES
      • CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL

        public static final LicenseType CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL
      • CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE

        public static final LicenseType CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE
      • CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES

        public static final LicenseType CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES
      • AFFERO_GPL

        public static final LicenseType AFFERO_GPL
    • Method Detail

      • values

        public static LicenseType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LicenseType c : LicenseType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LicenseType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • setValue

        public void setValue​(int value)