org.drools.guvnor.models.commons.shared.rule
Class ActionCallMethod
java.lang.Object
org.drools.guvnor.models.commons.shared.rule.ActionFieldList
org.drools.guvnor.models.commons.shared.rule.ActionSetField
org.drools.guvnor.models.commons.shared.rule.ActionCallMethod
- All Implemented Interfaces:
- IAction
public class ActionCallMethod
- extends ActionSetField
For modifying a field on a bound LHS variable or a global. Modify here means
that users can call methods that modify the object. If setting a field on a
fact bound variable, this will NOT notify the engine of any changes (unless
done outside of the engine).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED
- See Also:
- Constant Field Values
TYPE_DEFINED
public static final int TYPE_DEFINED
- The function has been choosen
- See Also:
- Constant Field Values
ActionCallMethod
public ActionCallMethod(String itemText)
ActionCallMethod
public ActionCallMethod()
getState
public int getState()
getMethodName
public String getMethodName()
setState
public void setState(int state)
setMethodName
public void setMethodName(String methodName)
getFieldValue
public ActionFieldFunction getFieldValue(int i)
addFieldValue
public void addFieldValue(ActionFieldValue val)
- Overrides:
addFieldValue in class ActionFieldList
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.