|
OpenNMS API 1.2.3 | |||||||||
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
This class is used to encapsulate a category in the categories xml file.
Field Summary | |
private java.lang.String |
m_effectiveRule
The 'effective' rule |
private java.util.List |
m_nodes
The nodes list - list of node ids |
Fields inherited from class org.opennms.netmgt.config.categories.Category |
|
Constructor Summary | |
RTCCategory(Category cat,
java.lang.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(java.lang.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 |
java.lang.String |
getEffectiveRule()
Return the 'effective' category rule |
java.util.List |
getNodes()
Get the node ids in this category |
Methods inherited from class org.opennms.netmgt.config.categories.Category |
addPropertyChangeListener, addService, addService, clearService, enumerateService, equals, getComment, getLabel, getNormal, getRule, getService, getService, getServiceCollection, getServiceCount, getWarning, hasNormal, hasWarning, isValid, marshal, marshal, notifyPropertyChangeListeners, removePropertyChangeListener, removeService, setComment, setLabel, setNormal, setRule, setService, setService, setServiceCollection, setWarning, unmarshal, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String m_effectiveRule
private java.util.List m_nodes
Constructor Detail |
public RTCCategory(Category cat, java.lang.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(java.lang.String svcname)
public java.lang.String getEffectiveRule()
public java.util.List getNodes()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |