Enum Class RequiredDependenciesStrategy

java.lang.Object
java.lang.Enum<RequiredDependenciesStrategy>
io.jmix.flowui.kit.meta.RequiredDependenciesStrategy
All Implemented Interfaces:
Serializable, Comparable<RequiredDependenciesStrategy>, Constable

public enum RequiredDependenciesStrategy extends Enum<RequiredDependenciesStrategy>
Enum representing the strategy for evaluating required dependencies in Studio.

The strategy determines how the dependencies specified in annotations like StudioUiKit are treated when determining whether a component or feature can be used in Studio.

  • OR: Any one of the specified dependencies must be present.
  • AND: All of the specified dependencies must be present.
This enum is typically used in annotations to specify the criteria under which certain functionality should be available based on dependencies.
  • Enum Constant Details

  • Method Details

    • values

      public static RequiredDependenciesStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RequiredDependenciesStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null