Enum Class PythonIncrementalMode

java.lang.Object
java.lang.Enum<PythonIncrementalMode>
io.micronaut.python.compiler.PythonIncrementalMode
All Implemented Interfaces:
Serializable, Comparable<PythonIncrementalMode>, Constable

public enum PythonIncrementalMode extends Enum<PythonIncrementalMode>
Controls how incremental compilation handles dynamic or unresolved Python relationships.
Since:
5.2.0
  • Enum Constant Details

    • CONSERVATIVE

      public static final PythonIncrementalMode CONSERVATIVE
      Reprocess every Python source when static dependency analysis cannot prove isolation.
    • OPTIMISTIC

      public static final PythonIncrementalMode OPTIMISTIC
      Reprocess only sources selected by the statically discovered dependency graph.
  • Method Details

    • values

      public static PythonIncrementalMode[] 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 PythonIncrementalMode 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