public class JavaMethodOperationExecutorStrategy extends Object implements OperationExecutorStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_JAVA_METHOD |
| Constructor and Description |
|---|
JavaMethodOperationExecutorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Object |
computeNewValueForLeftOperand(SOperation operation,
Object valueToSetObjectWith,
SExpressionContext expressionContext,
boolean shouldPersistValue)
Calculates the new value of the left operand base of right operand expression value
|
protected String |
extractMethodName(SOperation operation) |
protected Object |
extractObjectToInvokeFromContext(SOperation operation,
SExpressionContext expressionContext) |
protected String |
extractParameterType(SOperation operation) |
String |
getOperationType() |
boolean |
shouldPersistOnNullValue()
Determines if the operation right value should be persisted when the value is evaluated to null.
|
public static final String TYPE_JAVA_METHOD
public Object computeNewValueForLeftOperand(SOperation operation, Object valueToSetObjectWith, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
OperationExecutorStrategycomputeNewValueForLeftOperand in interface OperationExecutorStrategyoperation - the operation in progressvalueToSetObjectWith - result of the evaluation of right operand expressionexpressionContext - the expression contextshouldPersistValue - true if the right operand must be persisted (Business Data)SOperationExecutionExceptionprotected String extractParameterType(SOperation operation)
protected String extractMethodName(SOperation operation)
protected Object extractObjectToInvokeFromContext(SOperation operation, SExpressionContext expressionContext) throws SOperationExecutionException
SOperationExecutionExceptionpublic String getOperationType()
getOperationType in interface OperationExecutorStrategypublic boolean shouldPersistOnNullValue()
OperationExecutorStrategyshouldPersistOnNullValue in interface OperationExecutorStrategyCopyright © 2018 Bonitasoft S.A.. All rights reserved.