|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.goldenhammer.test.TestProfile
This class represents a test profile for a modality.
Constructor Summary | |
TestProfile()
Constructor |
|
TestProfile(java.lang.String testProfileXML)
Creates a new TestProfile from the specified XML file. |
Method Summary | |
void |
addSender(Modality modality)
Add a sender to this test profile |
java.lang.String |
getProfileName()
|
java.util.List |
getSenders()
|
void |
save(java.lang.String filename)
Saves this modality to an XML file. |
void |
setProfileName(java.lang.String profileName)
|
void |
setSenders(java.util.ArrayList senders)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestProfile(java.lang.String testProfileXML) throws java.io.FileNotFoundException, java.io.IOException, ModalityException, TestProfileException
testProfileXML
- The XML file to use for this instance of TestProfile.
java.io.IOException
- thrown if there is a problem with i/o
java.io.FileNotFoundException
- thrown if the file is not found
ModalityException
- thrown if there is a problem parsing the xml document
TestProfileException
- thrown if there is a error with the xml documentpublic TestProfile()
Method Detail |
public java.lang.String getProfileName()
public void setProfileName(java.lang.String profileName)
profileName
- The profileName to set.public java.util.List getSenders()
public void setSenders(java.util.ArrayList senders)
senders
- The senders to set.public void save(java.lang.String filename) throws java.io.IOException
filename
- The desired name of the XML file.
java.io.IOException
public void addSender(Modality modality)
modality
- the sender to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |