|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgenerating.TestRepeater
public class TestRepeater
This class is able to repeat the whole generation of a previous test by reading the log files
Nested Class Summary | |
---|---|
static class |
TestRepeater.GenerationNode
|
Constructor Summary | |
---|---|
TestRepeater(java.lang.String fileName,
java.util.GregorianCalendar startOfThisTest,
Mapper mapper)
A default constructor. |
Method Summary | |
---|---|
static java.util.GregorianCalendar |
convertStringToDate(java.lang.String dateString)
|
Logger |
getLogger()
|
Mapper |
getMapper()
|
void |
insertNode(java.lang.String line)
|
boolean |
isAlive()
|
static void |
main(java.lang.String[] args)
|
void |
run()
This thread iterates over the linked list of generation that the constructor build and generate jobs accordingly |
void |
setAlive(boolean alive)
|
void |
setLogger(Logger logger)
|
void |
setMapper(Mapper mapper)
|
void |
startThread()
This method starts this thread. |
void |
stopThread()
This method stops this thread |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestRepeater(java.lang.String fileName, java.util.GregorianCalendar startOfThisTest, Mapper mapper)
fileName
- the fileName of the log file that stores the previous log of generationsstartOfThisTest
- the start time of test to be donemapper
- to send jobs forMethod Detail |
---|
public boolean isAlive()
public void setAlive(boolean alive)
public Mapper getMapper()
public void setMapper(Mapper mapper)
public Logger getLogger()
public void setLogger(Logger logger)
public void startThread()
public void stopThread()
public void run()
run
in interface java.lang.Runnable
public void insertNode(java.lang.String line)
public static java.util.GregorianCalendar convertStringToDate(java.lang.String dateString)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |