|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdx.scorebot.net.ConfigurationTemplate
cdx.scorebot.net.TeamConfiguration
public class TeamConfiguration
This contains only the IP addresses and ports of the services which are to be tested from a template NetworkTestPackage. It allows for the easy re-use and mass-modification of NetworkTestPackages.
Field Summary | |
---|---|
static java.lang.String |
EXT
extension to use for files holding this type |
Fields inherited from class cdx.scorebot.net.ConfigurationTemplate |
---|
ntp, pathToNTP, suiteInfo |
Constructor Summary | |
---|---|
|
TeamConfiguration(java.lang.String fn)
create a Skeleton NetworkTestPackage from the NetworkTestPackage in the specified file |
protected |
TeamConfiguration(java.lang.String fn,
java.lang.String ownerName,
java.util.Vector<TestSuiteSkeleton> suiteInfo,
NetworkTestPackage ntp)
create a Skeleton NetworkTestPackage from the NetworkTestPackage in the specified file |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
NetworkTestPackage |
getConfiguredNTP()
Configures the NetworkTestPackage this holds and returns it. |
NetworkTestPackage |
getFullyConfiguredNTP()
Configures the NetworkTestPackage this holds and returns it. |
java.lang.String |
getOwnerName()
gets the name of the team this is for |
void |
setOwnerName(java.lang.String ownerName)
sets the name of the team this is for |
Methods inherited from class cdx.scorebot.net.ConfigurationTemplate |
---|
addMissingSuites, equals, gentleLoadNTP, getPathToNTP, getSuiteInfo, getUnconfiguredNTP, indexOfSkel, loadNTP, refreshSuites, setPathToNTP |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EXT
Constructor Detail |
---|
public TeamConfiguration(java.lang.String fn) throws com.thoughtworks.xstream.core.BaseException, java.io.FileNotFoundException
fn
- where to load the NetworkTestPackage from (best if this is a relative path)
com.thoughtworks.xstream.core.BaseException
- if the object cannot be deserialized
java.io.FileNotFoundException
- occurs if the file is not foundprotected TeamConfiguration(java.lang.String fn, java.lang.String ownerName, java.util.Vector<TestSuiteSkeleton> suiteInfo, NetworkTestPackage ntp)
fn
- where to load the NetworkTestPackage from (best if this is a relative path)suiteInfo
- the skeleton suite infontp
- the configuration to run withownerName
- the name of the team
com.thoughtworks.xstream.core.BaseException
- if the object cannot be deserialized
java.io.FileNotFoundException
- occurs if the file is not foundMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public NetworkTestPackage getConfiguredNTP()
public NetworkTestPackage getFullyConfiguredNTP()
public java.lang.String getOwnerName()
public void setOwnerName(java.lang.String ownerName) throws IllegalArgValException
IllegalArgValException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |