Class AssignmentOperationExecutorStrategy

  • All Implemented Interfaces:
    OperationExecutorStrategy

    @Component
    public class AssignmentOperationExecutorStrategy
    extends java.lang.Object
    implements OperationExecutorStrategy
    AssignmentOperationExecutorStrategy is the default Bonita strategy to execute data assignment operations
    Author:
    Zhang Bole, Elias Ricken de Medeiros, Baptiste Mesta, Matthieu Chaffotte
    • Constructor Summary

      Constructors 
      Constructor Description
      AssignmentOperationExecutorStrategy()
      Builds a new AssignmentOperationExecutorStrategy, which is the strategy to execute data assignment operations
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object computeNewValueForLeftOperand​(SOperation operation, java.lang.Object value, SExpressionContext expressionContext, boolean shouldPersistValue)
      Calculates the new value of the left operand base of right operand expression value
      java.lang.String getOperationType()  
      boolean shouldPersistOnNullValue()
      Determines if the operation right value should be persisted when the value is evaluated to null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssignmentOperationExecutorStrategy

        public AssignmentOperationExecutorStrategy()
        Builds a new AssignmentOperationExecutorStrategy, which is the strategy to execute data assignment operations