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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException- if the argument is null
-