Package org.drools.commands.runtime.rule
Class ModifyCommand
java.lang.Object
org.drools.commands.runtime.rule.ModifyCommand
- All Implemented Interfaces:
Serializable,org.kie.api.command.Command<Object>,org.kie.api.command.ExecutableCommand<Object>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanif this is true, modify can be any MVEL expressions. -
Constructor Summary
ConstructorsConstructorDescriptionModifyCommand(org.kie.api.runtime.rule.FactHandle handle, List<org.kie.api.command.Setter> setters) -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.kie.api.runtime.Context context) org.kie.api.runtime.rule.FactHandleList<org.kie.api.command.Setter>voidsetFactHandle(DisconnectedFactHandle factHandle) voidsetFactHandleFromString(String factHandleId) voidsetSetters(List<org.kie.api.command.Setter> setters) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.command.ExecutableCommand
autoFireAllRules
-
Field Details
-
ALLOW_MODIFY_EXPRESSIONS
public boolean ALLOW_MODIFY_EXPRESSIONSif this is true, modify can be any MVEL expressions. If false, it will only allow literal values. (false should be use when taking input from an untrusted source, such as a web service).
-
-
Constructor Details
-
ModifyCommand
public ModifyCommand() -
ModifyCommand
public ModifyCommand(org.kie.api.runtime.rule.FactHandle handle, List<org.kie.api.command.Setter> setters)
-
-
Method Details