public class OperationsAnalyzer extends Object
| Constructor and Description |
|---|
OperationsAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
LeftOperandIndexes |
calculateIndexes(int indexOfCurrentOperation,
List<org.bonitasoft.engine.core.operation.model.SOperation> operations)
Calculates the next and the last indexes where the left operand located at the given index is used
|
int |
findBusinessDataDependencyIndex(String businessDataName,
int fromIndex,
List<org.bonitasoft.engine.core.operation.model.SOperation> operations)
Finds the index of operation of type
SLeftOperand.TYPE_BUSINESS_DATA that references the expression of type
ExpressionType.TYPE_BUSINESS_DATA with given name directly on the right operand or in transitive dependencies. |
public int findBusinessDataDependencyIndex(String businessDataName, int fromIndex, List<org.bonitasoft.engine.core.operation.model.SOperation> operations)
SLeftOperand.TYPE_BUSINESS_DATA that references the expression of type
ExpressionType.TYPE_BUSINESS_DATA with given name directly on the right operand or in transitive dependencies.businessDataName - the expression contentfromIndex - index of operation from which the analyse must beginsoperations - list of operations @return the index of operation that references the expression with given name and type.public LeftOperandIndexes calculateIndexes(int indexOfCurrentOperation, List<org.bonitasoft.engine.core.operation.model.SOperation> operations)
indexOfCurrentOperation - index of current operationoperations - all operationsCopyright © 2016 Bonitasoft S.A.. All rights reserved.