|
|||||||||
| Home >> All >> org >> yajre >> semantic >> [ java overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.yajre.semantic.java
Class BeanShellAction

java.lang.Objectorg.yajre.semantic.java.BeanShellAction
- All Implemented Interfaces:
- org.yajre.spi.Action
- public final class BeanShellAction
- extends java.lang.Object
- implements org.yajre.spi.Action
- extends java.lang.Object
Rule org.yajre.spi.Action using BeanShell for execution.
| Field Summary | |
private java.lang.String |
rule
|
private java.lang.String |
script
|
| Constructor Summary | |
BeanShellAction(java.lang.String rule,
java.lang.String script)
|
|
| Method Summary | |
java.lang.String |
getRuleName()
The name of the rule from which this action originates. |
java.lang.String |
getScript()
|
void |
invoke(org.yajre.spi.Tuple tuple,
org.yajre.WorkingMemory mem)
Execute the action for the supplied matching org.yajre.spi.Tuple. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
script
private java.lang.String script
rule
private java.lang.String rule
| Constructor Detail |
BeanShellAction
public BeanShellAction(java.lang.String rule, java.lang.String script)
| Method Detail |
getScript
public java.lang.String getScript()
getRuleName
public java.lang.String getRuleName()
- Description copied from interface:
org.yajre.spi.Action - The name of the rule from which this action originates.
- Specified by:
getRuleNamein interfaceorg.yajre.spi.Action
invoke
public void invoke(org.yajre.spi.Tuple tuple, org.yajre.WorkingMemory mem) throws org.yajre.spi.ActionInvokationException
- Description copied from interface:
org.yajre.spi.Action - Execute the action for the supplied
matching org.yajre.spi.Tuple.
- Specified by:
invokein interfaceorg.yajre.spi.Action
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> yajre >> semantic >> [ java overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.yajre.semantic.java.BeanShellAction