|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pushtotest.testnetwork.TestNode
public class TestNode
| Constructor Summary | |
|---|---|
TestNode()
|
|
| Method Summary | |
|---|---|
int |
doAbandonScenario()
Aborts actual execution |
int |
doAbortExecution()
Aborts actual execution |
int |
doExecute(int usecase)
Executes the actual loaded Scenario |
int |
doGetSyncFlag()
Returns the SyncFlag value |
int |
doLoadScenario(java.lang.String sName,
java.lang.String[] aFilenames,
javax.activation.DataHandler[] aDHFiles,
java.lang.String sScript,
java.lang.String[] asArgs)
Loads an Scenario by saving all the attached files to the working directory and instantiating the Scenario |
int |
doRelease()
Releases the actual Scenario |
int |
doSetSnapshot(java.util.Hashtable htSnapshot)
Sets the actual SnapShot |
int |
doSetSyncFlag(int iSyncFlag)
Sets Sync Flag value |
int |
doStopScenario()
Signals the running Scenario to stop |
java.util.Hashtable[] |
getFileList(java.lang.String sTopdir)
Return a list of file info blocks, for all files in the sTopDir directory |
java.util.Hashtable[] |
getFiles(java.lang.String[] aFileList)
Returns the File Info and the actual file datahandlers in a hastable. |
java.util.Hashtable |
getNodeStatus()
Returns the actual node status in a hastable |
java.util.Hashtable |
getSystemStatus()
Returns the actual System Status |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestNode()
| Method Detail |
|---|
public int doLoadScenario(java.lang.String sName,
java.lang.String[] aFilenames,
javax.activation.DataHandler[] aDHFiles,
java.lang.String sScript,
java.lang.String[] asArgs)
sName - Scenario's nameaFilenames - List of File namesaDHFiles - Actual Files in datahandlers.
public int doExecute(int usecase)
public int doRelease()
public int doAbortExecution()
public int doAbandonScenario()
public int doStopScenario()
public java.util.Hashtable getNodeStatus()
public int doGetSyncFlag()
public int doSetSyncFlag(int iSyncFlag)
iSyncFlag - New SyncFlag Value
public java.util.Hashtable[] getFileList(java.lang.String sTopdir)
sTopdir - Tops Directory from where gather the file list
public java.util.Hashtable[] getFiles(java.lang.String[] aFileList)
aFileList - List of files to return.
May be null indicating to return all files in directory
public java.util.Hashtable getSystemStatus()
public int doSetSnapshot(java.util.Hashtable htSnapshot)
htSnapshot - Actual Snapshot to push
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||