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 |
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) |
LeftOperandBuilder |
createNewInstance()
Initiate the building of a new
LeftOperand . |
LeftOperandBuilder |
createNewInstance(String name) |
LeftOperand |
createSearchIndexLeftOperand(int index) |
LeftOperand |
done() |
LeftOperandBuilder |
setExternal(boolean external) |
LeftOperandBuilder |
setName(String name)
Sets the name of this
LeftOperand . |
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 setExternal(boolean external)
external
- public LeftOperand done()
public LeftOperand createSearchIndexLeftOperand(int index)
public LeftOperand createDataLeftOperand(String dataName, boolean 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
objectCopyright © 2013 BonitaSoft. All Rights Reserved.