Class TestGenKieSessionUpdate
- java.lang.Object
 - 
- org.optaplanner.constraint.drl.testgen.operation.TestGenKieSessionUpdate
 
 
- 
- All Implemented Interfaces:
 TestGenKieSessionOperation
public class TestGenKieSessionUpdate extends Object implements TestGenKieSessionOperation
 
- 
- 
Constructor Summary
Constructors Constructor Description TestGenKieSessionUpdate(int id, TestGenFact entity, VariableDescriptor<?> variableDescriptor, TestGenFact value) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestGenFactgetValue()Get the value that is used to update a fact's field (an entity's variable).voidinvoke(org.kie.api.runtime.KieSession kieSession)voidprint(StringBuilder sb)StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
TestGenKieSessionUpdate
public TestGenKieSessionUpdate(int id, TestGenFact entity, VariableDescriptor<?> variableDescriptor, TestGenFact value) 
 - 
 
- 
Method Detail
- 
getValue
public TestGenFact getValue()
Get the value that is used to update a fact's field (an entity's variable).- Returns:
 - a TestGenFact representing the new value, never null (null value is represented by
         
TestGenNullFact) 
 
- 
invoke
public void invoke(org.kie.api.runtime.KieSession kieSession)
- Specified by:
 invokein interfaceTestGenKieSessionOperation
 
- 
print
public void print(StringBuilder sb)
- Specified by:
 printin interfaceTestGenKieSessionOperation
 
 - 
 
 -