|
||||||||||
| 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<Long> |
getNodes()
Get the node IDs in this category |
| Methods inherited from class org.opennms.netmgt.config.categories.Category |
|---|
addService, addService, deleteNormal, deleteWarning, enumerateService, equals, getComment, getLabel, getNormal, getRule, getService, getService, getServiceCollection, getServiceCount, getWarning, hashCode, 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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTCCategory(Category cat,
String commonRule)
cat - a Category object.commonRule - a String object.| Method Detail |
|---|
public void addNode(RTCNode node)
node - the node to addpublic void addNode(long nodeid)
nodeid - the node ID to addpublic void deleteNode(long nodeid)
nodeid - the node ID to deletepublic boolean containsService(String svcname)
svcname - a String object.
public String getEffectiveRule()
public List<Long> getNodes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||