|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cdx.scorebot.app.util.ServiceInfo
public class ServiceInfo
Stores information about a particular service
Constructor Summary | |
---|---|
ServiceInfo()
Instantiates a ServiceInfo |
Method Summary | |
---|---|
void |
addTest(TestInfo ti)
Adds a test to be tested. |
java.lang.String |
getDescription()
gets the description of this service |
java.lang.String |
getName()
gets the name of this service |
Service |
getService()
gets the service |
ServiceType |
getServiceType()
gets the service type |
TestInfo |
getTest(int index)
Gets the specified test |
java.util.Vector<TestInfo> |
getTests()
gets the tests in this test |
ServiceType |
getType()
gets the kind of service this is |
void |
removeTest(int index)
Removes the test from this test |
boolean |
removeTest(TestInfo ti)
Removes the test from this service |
void |
setDescription(java.lang.String desc)
sets the description of this service |
void |
setName(java.lang.String name)
sets the name of this service |
void |
setService(Service service)
sets the service |
void |
setType(ServiceType type)
sets the kind of service this is |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInfo()
Method Detail |
---|
public ServiceType getServiceType()
public Service getService()
public void setService(Service service)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
public void addTest(TestInfo ti)
ti
- the test to add to this servicepublic void removeTest(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- remove the test at the specified index.
java.lang.ArrayIndexOutOfBoundsException
- if the index was invalid.public boolean removeTest(TestInfo ti)
ti
- the TestInfo to remove
public TestInfo getTest(int index) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
- if the index was invalid.public java.util.Vector<TestInfo> getTests()
public ServiceType getType()
public void setType(ServiceType type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |