Enum License.GatedFeature

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<License.GatedFeature>
    Enclosing class:
    License

    public static enum License.GatedFeature
    extends java.lang.Enum<License.GatedFeature>
    A “gated” feature is a feature that requires a certain plan code (e.g. Enterprise or Enterprise+) to function
    Since:
    API 4.202600 (Geneious 2026.0.0)
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static License.GatedFeature fromString​(java.lang.String featureText)
      Returns the License.GatedFeature enum constant corresponding to the given String.
      boolean isEnabled()
      Check if this feature is enabled for the current license plan.
      void showLicenseUpgradeRequiredDialog()
      Show an `Upgrade Required` message dialog with `Close` button.
      static License.GatedFeature valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static License.GatedFeature[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • MultiInsertionPointCloning

        public static final License.GatedFeature MultiInsertionPointCloning
        Multi-insertion point cloning
        Since:
        API 4.202600 (Geneious 2026.0.0)
      • Luma

        public static final License.GatedFeature Luma
        Geneious Luma integration
        Since:
        API 4.202600 (Geneious 2026.0.0)
    • Method Detail

      • values

        public static License.GatedFeature[] 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 (License.GatedFeature c : License.GatedFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static License.GatedFeature valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • fromString

        public static License.GatedFeature fromString​(java.lang.String featureText)
        Returns the License.GatedFeature enum constant corresponding to the given String.
        Parameters:
        featureText - case-sensitive string representation (by default, the enum constant name, e.g. "Luma")
        Returns:
        the corresponding enum constant, or null if no match is found
        Since:
        API 4.202600 (Geneious 2026.0.0)
      • isEnabled

        @MustReturnPromptly
        public boolean isEnabled()
        Check if this feature is enabled for the current license plan.
        Returns:
        if this feature is enabled for the current license plan
        Since:
        API 4.202600 (Geneious 2026.0.0)
      • showLicenseUpgradeRequiredDialog

        public void showLicenseUpgradeRequiredDialog()

        Show an `Upgrade Required` message dialog with `Close` button.

        Since:
        API 4.202600 (Geneious 2026.0.0)