Enum Class AbstractForEachUniNode.LifecycleOperation

java.lang.Object
java.lang.Enum<AbstractForEachUniNode.LifecycleOperation>
ai.timefold.solver.core.impl.bavet.uni.AbstractForEachUniNode.LifecycleOperation
All Implemented Interfaces:
Serializable, Comparable<AbstractForEachUniNode.LifecycleOperation>, Constable
Enclosing class:
AbstractForEachUniNode<A>

public static enum AbstractForEachUniNode.LifecycleOperation extends Enum<AbstractForEachUniNode.LifecycleOperation>
Represents the various lifecycle operations that can be performed on tuples within a node in Bavet.
  • Enum Constant Details

    • INSERT

      public static final AbstractForEachUniNode.LifecycleOperation INSERT
      Represents the operation of inserting a new tuple into the node. This operation is typically performed when a new fact is added to the working solution and needs to be propagated through the node network.
    • UPDATE

      public static final AbstractForEachUniNode.LifecycleOperation UPDATE
      Represents the operation of updating an existing tuple within the node. This operation is typically triggered when a fact in the working solution is modified, requiring the corresponding tuple to be updated and its changes propagated through the node network.
    • RETRACT

      public static final AbstractForEachUniNode.LifecycleOperation RETRACT
      Represents the operation of retracting or removing an existing tuple from the node. This operation is typically used when a fact is removed from the working solution and its corresponding tuple needs to be removed from the node network.
  • Method Details

    • 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 AbstractForEachUniNode.LifecycleOperation 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