|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.igis.omtab.ra.JessRepeatAction
public class JessRepeatAction
Reference realisation of Repeat Action interface Periodically call Jess userfunction See Jess documentation
Constructor Summary | |
---|---|
JessRepeatAction(java.lang.Object src,
java.lang.String auf,
jess.Rete engine)
Creates a new instance of JessRepeatTest |
Method Summary | |
---|---|
java.lang.String |
getName()
Every RepeatAction must return a string name to search it in Second, Hour or Day Action lists |
void |
repeat(long time)
Call priodically Jess userfunction and pass to it two parameters: - Object earlier passed to constructor - Elapsed time between calls in corresponding time units (hours, minutes or seconds) |
void |
setName(java.lang.String name)
You can set name for this RepeatAction with a help of this method |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JessRepeatAction(java.lang.Object src, java.lang.String auf, jess.Rete engine) throws jess.JessException
src
- - Any Object you may be whant to check in userfunction callauf
- - name of userfunction with two parametersengine
- - Rete engine
jess.JessException
- -Method Detail |
---|
public void repeat(long time)
repeat
in interface RepeatAction
time
- - elapsed time in corresponding unitspublic java.lang.String getName()
RepeatAction
getName
in interface RepeatAction
public void setName(java.lang.String name)
RepeatAction
setName
in interface RepeatAction
name
- new name for RA
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |