org.gnu6.six
Class runMlist

java.lang.Object
  |
  +--org.gnu6.six.move
        |
        +--org.gnu6.six.runMlist
All Implemented Interfaces:
java.lang.Runnable

public class runMlist
extends move
implements java.lang.Runnable

This class executes sequentially moves from a given mlist.


Field Summary
static java.lang.String country
           
static java.lang.String FALSE
           
static java.lang.String language
           
static java.lang.String MOVE
           
static java.lang.String NAME
           
static java.lang.String PARAMETER
           
static java.lang.String SKIPFAIL
           
static java.lang.String TRUE
           
static java.lang.String VALUE
           
 
Fields inherited from class org.gnu6.six.move
currentState, myInstance, myName, myThreadGroup, parameters, thisThread
 
Constructor Summary
runMlist(java.util.Hashtable ht)
          Constructs execution environment for an mlist which is specified in Hashtable argument ht with the key "mlist"
 
Method Summary
 java.util.Hashtable getHashtableForMove(org.w3c.dom.Node myMove)
          Returns a hashtable that contains as keys parameter names for the specified move.
 long getSleepTimeout()
           
static void main(java.lang.String[] argv)
           
 boolean parseMoves(java.lang.String myLocation)
          Extracts moves from an mlist defined by its location.
 void run()
          Runs the current mlist.
 void sendMail(boolean yesNo)
           
 void setSleepTimeout(int timeout)
           
 void shouldItLoop(boolean yesNo)
           
 
Methods inherited from class org.gnu6.six.move
activeCount, amIsuspended, enumerateThreadGroups, enumerateThreads, getLogFile, getLogStatus, getName, getParameters, getParent, getState, interrupt, interruptAll, isAlive, isItSuspended, join, resume, setAlive, setDaemon, setInstance, setLogFile, setLogStatus, setName, setParameters, setParent, setState, setThread, setThreadGroup, sleep, start, stop, stopAll, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

language

public static final java.lang.String language
See Also:
Constant Field Values

country

public static final java.lang.String country
See Also:
Constant Field Values

FALSE

public static final java.lang.String FALSE
See Also:
Constant Field Values

TRUE

public static final java.lang.String TRUE
See Also:
Constant Field Values

MOVE

public static final java.lang.String MOVE
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

SKIPFAIL

public static final java.lang.String SKIPFAIL
See Also:
Constant Field Values

PARAMETER

public static final java.lang.String PARAMETER
See Also:
Constant Field Values

VALUE

public static final java.lang.String VALUE
See Also:
Constant Field Values
Constructor Detail

runMlist

public runMlist(java.util.Hashtable ht)
Constructs execution environment for an mlist which is specified in Hashtable argument ht with the key "mlist"

Parameters:
ht - - Hashtable that has key "mlist" corresponding to String value which is the location of an mlist.
Method Detail

sendMail

public void sendMail(boolean yesNo)

getSleepTimeout

public long getSleepTimeout()

setSleepTimeout

public void setSleepTimeout(int timeout)

shouldItLoop

public void shouldItLoop(boolean yesNo)

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
java.lang.Exception

parseMoves

public boolean parseMoves(java.lang.String myLocation)
Extracts moves from an mlist defined by its location.

Parameters:
myLocation - - mlist location

run

public void run()
Runs the current mlist.

Specified by:
run in interface java.lang.Runnable

getHashtableForMove

public java.util.Hashtable getHashtableForMove(org.w3c.dom.Node myMove)
Returns a hashtable that contains as keys parameter names for the specified move. The corresponding values are specified in the mlist for this move. For example, will produce a hashtable with one key - "log". The value for this key is "Hi"

Parameters:
myMove - - Node class defined by org.w3c.dom.Node, see xerces in apache.org