|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ajanta.pattern.Pattern | +--ajanta.pattern.PatternCollection | +--ajanta.pattern.Loop
A sequence pattern is composed of an ordered list of Patterns. The traversal of this pattern implies a traversal of the Patterns in the list in sequential order.
PatternCollection
,
Pattern
,
Serialized FormField Summary | |
protected long |
loopInterval
|
Fields inherited from class ajanta.pattern.PatternCollection |
current, list |
Fields inherited from class ajanta.pattern.Pattern |
action, DONE, FAILED, NOTDONE, status |
Constructor Summary | |
Loop()
|
Method Summary | |
protected int |
next(ajanta.server.AgentEnv host)
The pattern traversal is determined by the abstarct method next. |
protected void |
reset()
It sets the status of all the patterns in the list to NOTDONE |
protected void |
scan()
An empty method |
void |
setItinFinished()
|
void |
setLoopInterval(long interval)
It calls next method of each pattern in the list in a sequential order |
Methods inherited from class ajanta.pattern.PatternCollection |
currentEntry, firstEntry, insert, join, print |
Methods inherited from class ajanta.pattern.Pattern |
getName, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long loopInterval
Constructor Detail |
public Loop()
Method Detail |
public void setLoopInterval(long interval)
public void setItinFinished()
protected int next(ajanta.server.AgentEnv host) throws java.net.UnknownHostException
Pattern
next
in class Pattern
java.net.UnknownHostException
protected void reset()
PatternCollection
reset
in class PatternCollection
protected void scan()
scan
in class Pattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |