|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.bm.server.BMTestRun
public class BMTestRun
Encapsulation of data and behaviour associated with a specific test run.
TODO: Need to log errors to distributed sink
| Nested Class Summary | |
|---|---|
static class |
BMTestRun.Key
The key that represents the unique data defining a specific test run i.e. |
| Nested classes/interfaces inherited from interface org.alfresco.bm.server.ConfigConstants |
|---|
ConfigConstants.RunState |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
BMTestRun(BMServer server,
BMTestRun.Key testRunKey)
Consructor containing enough data for the object to go off and start itself Initially, values are retrieved without data watches |
|
| Method Summary | |
|---|---|
void |
checkForRestart()
Forces a check for restart requests. |
void |
childrenChanged(String path)
|
void |
classesChanged(String path)
|
void |
dataChanged(String path,
boolean deleted)
|
boolean |
equals(Object obj)
Equality is based on the test and run names. |
BMTestRun.Key |
getKey()
|
void |
start()
Explicit call to start the test run application. |
void |
stop()
Explicit call to stop the test run application |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BMTestRun(BMServer server,
BMTestRun.Key testRunKey)
server - the server constructing the test runtestRunKey - the unique test run keyconfigService - the configuration loader| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic BMTestRun.Key getKey()
public void checkForRestart()
restart requests.
public void start()
public void stop()
public void classesChanged(String path)
classesChanged in interface org.alfresco.config.ConfigClassesListener
public void dataChanged(String path,
boolean deleted)
dataChanged in interface org.alfresco.config.ConfigDataListenerpublic void childrenChanged(String path)
childrenChanged in interface org.alfresco.config.ConfigChildListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||