|
||||||||||
| 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.config.ConfigConstants |
|---|
org.alfresco.bm.config.ConfigConstants.RunState |
| Field Summary |
|---|
| Fields inherited from interface org.alfresco.bm.config.ConfigConstants |
|---|
DEFAULT_RUNSTATE, DEFAULT_SERVER_ID, PATH_CLASSES, PATH_CLUSTERS, PATH_DEFINITION, PATH_JARS, PATH_LOADED, PATH_PROPERTIES, PATH_RUNS, PATH_SERVER, PATH_SERVERS, PATH_TESTS, PROP_CLUSTER, PROP_CONTROL_CLUSTER, PROP_CONTROL_RUN_STATE, PROP_EVENT_PROCESSOR_THREADS, PROP_MONGO_URI, PROP_SERVER_ID, PROP_TEST_NAME, PROP_TEST_RUN_FQN, PROP_TEST_RUN_NAME, SEPARATOR |
| 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)
The children below the path have changed |
void |
classesChanged(String path)
The classes rooted at the path have changed |
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)
ConfigClassesListener
classesChanged in interface ConfigClassesListenerpath - full data path e.g. /alfresco/bm/clusters/default/classes
public void dataChanged(String path,
boolean deleted)
dataChanged in interface ConfigDataListenerpath - full data path e.g. /alfresco/bm/clusters/default/propertiesdeleted - the data has been deletedpublic void childrenChanged(String path)
ConfigChildListener
childrenChanged in interface ConfigChildListenerpath - full data path e.g. /alfresco/bm/tests
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||