public class AssignmentOperationExecutorStrategy extends Object implements OperationExecutorStrategy
| Constructor and Description |
|---|
AssignmentOperationExecutorStrategy()
Builds a new AssignmentOperationExecutorStrategy, which is the strategy to execute data assignment operations
|
| Modifier and Type | Method and Description |
|---|---|
Object |
computeNewValueForLeftOperand(SOperation operation,
Object value,
SExpressionContext expressionContext,
boolean shouldPersistValue)
Calculates the new value of the left operand base of right operand expression value
|
String |
getOperationType() |
boolean |
shouldPersistOnNullValue()
Determines if the operation right value should be persisted when the value is evaluated to null.
|
public AssignmentOperationExecutorStrategy()
public Object computeNewValueForLeftOperand(SOperation operation, Object value, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
OperationExecutorStrategycomputeNewValueForLeftOperand in interface OperationExecutorStrategyoperation - the operation in progressvalue - result of the evaluation of right operand expressionexpressionContext - the expression contextshouldPersistValue - true if the right operand must be persisted (Business Data)SOperationExecutionExceptionpublic String getOperationType()
getOperationType in interface OperationExecutorStrategypublic boolean shouldPersistOnNullValue()
OperationExecutorStrategyshouldPersistOnNullValue in interface OperationExecutorStrategyCopyright © 2018 Bonitasoft S.A.. All rights reserved.