public class LeftOperandBuilder extends Object
LeftOperand. LeftOperand is part of the Operation framework.
A LeftOperand have a name, which is a reference to a data / variable, or a document.
The value of the reference is evaluated at runtime, according to the Operation context.Operation,
OperationBuilder| Constructor and Description |
|---|
LeftOperandBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LeftOperand |
createBusinessDataLeftOperand(String dataName)
creates a
LeftOperand object to set a data, with a default value of external to false (data will be updated in Bonita system) |
LeftOperand |
createDataLeftOperand(String dataName)
creates a
LeftOperand object to set a data, with a default value of external to false (data will be updated in Bonita system) |
LeftOperand |
createDataLeftOperand(String dataName,
boolean external)
Deprecated.
|
LeftOperandBuilder |
createNewInstance()
Initiate the building of a new
LeftOperand. |
LeftOperandBuilder |
createNewInstance(String name) |
LeftOperand |
createSearchIndexLeftOperand(int index) |
LeftOperand |
done() |
LeftOperandBuilder |
setExternal(boolean external)
Deprecated.
use setType(LeftOperand.TYPE_EXTERNAL_DATA) instead
|
LeftOperandBuilder |
setName(String name)
Sets the name of this
LeftOperand. |
LeftOperandBuilder |
setType(LeftOperandType type)
Deprecated.
use setType(String)
|
LeftOperandBuilder |
setType(String type)
Set the type of the left operand
It can be
LeftOperand.TYPE_DATA LeftOperand.TYPE_BUSINESS_DATA LeftOperand.TYPE_DOCUMENT LeftOperand.TYPE_EXTERNAL_DATA
LeftOperand.TYPE_SEARCH_INDEX LeftOperand.TYPE_TRANSIENT_DATA or an other type of org.bonitasoft.engine.core.operation.LeftOperandHandler
registered in the configuration |
public LeftOperandBuilder createNewInstance()
LeftOperand. The LeftOperand building will be complete when calling the done() method.public LeftOperandBuilder createNewInstance(String name)
public LeftOperandBuilder setName(String name)
LeftOperand. Can be a reference to a data / variable, or to a document.name - the name of the reference that will be set by this operation executionpublic LeftOperandBuilder setType(String type)
LeftOperand.TYPE_DATA LeftOperand.TYPE_BUSINESS_DATA LeftOperand.TYPE_DOCUMENT LeftOperand.TYPE_EXTERNAL_DATA
LeftOperand.TYPE_SEARCH_INDEX LeftOperand.TYPE_TRANSIENT_DATA or an other type of org.bonitasoft.engine.core.operation.LeftOperandHandler
registered in the configurationtype - @Deprecated public LeftOperandBuilder setType(LeftOperandType type)
type - @Deprecated public LeftOperandBuilder setExternal(boolean external)
external - public LeftOperand done()
public LeftOperand createSearchIndexLeftOperand(int index)
@Deprecated public LeftOperand createDataLeftOperand(String dataName, boolean external)
createDataLeftOperand(String)dataName - external - public LeftOperand createDataLeftOperand(String dataName)
LeftOperand object to set a data, with a default value of external to false (data will be updated in Bonita system)dataName - the name of the data to setLeftOperand objectpublic LeftOperand createBusinessDataLeftOperand(String dataName)
LeftOperand object to set a data, with a default value of external to false (data will be updated in Bonita system)dataName - the name of the data to setLeftOperand objectCopyright © 2018 Bonitasoft S.A.. All rights reserved.