|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.categories.Category
org.opennms.netmgt.rtc.datablock.RTCCategory
public class RTCCategory
This class is used to encapsulate a category in the categories xml file.
| Constructor Summary | |
|---|---|
RTCCategory(Category cat,
String commonRule)
The default constructor - initializes the values |
|
| Method Summary | |
|---|---|
void |
addNode(long nodeid)
Add to the nodes in this category |
void |
addNode(RTCNode node)
Add to the nodes in this category |
boolean |
containsService(String svcname)
Returns true if the service is in the services list in this category or if service list is null |
void |
deleteNode(long nodeid)
Delete from the nodes in this category |
String |
getEffectiveRule()
Return the 'effective' category rule |
List |
getNodes()
Get the node ids in this category |
| Methods inherited from class org.opennms.netmgt.config.categories.Category |
|---|
addService, addService, deleteNormal, deleteWarning, enumerateService, getComment, getLabel, getNormal, getRule, getService, getService, getServiceCollection, getServiceCount, getWarning, hasNormal, hasWarning, isValid, iterateService, marshal, marshal, removeAllService, removeService, removeServiceAt, setComment, setLabel, setNormal, setRule, setService, setService, setService, setServiceCollection, setWarning, unmarshal, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTCCategory(Category cat,
String commonRule)
| Method Detail |
|---|
public void addNode(RTCNode node)
node - the node to addpublic void addNode(long nodeid)
nodeid - the nodeid to addpublic void deleteNode(long nodeid)
nodeid - the nodeid to deletepublic boolean containsService(String svcname)
public String getEffectiveRule()
public List getNodes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||