Class Group
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.Group
-
- All Implemented Interfaces:
java.io.Serializable
public class Group extends java.lang.Object implements java.io.Serializable
a MIB object group- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIncludeGroup(java.lang.String includeGroup)
void
addMibObj(MibObj mibObj)
boolean
equals(java.lang.Object obj)
java.lang.String
getIfType()
Interface type.java.util.List<java.lang.String>
getIncludeGroups()
java.util.List<MibObj>
getMibObjs()
java.lang.String
getName()
group namejava.util.List<MibObjProperty>
getProperties()
int
hashCode()
boolean
removeIncludeGroup(java.lang.String includeGroup)
boolean
removeMibObj(MibObj mibObj)
void
setIfType(java.lang.String ifType)
void
setIncludeGroups(java.util.List<java.lang.String> includeGroups)
void
setMibObjs(java.util.List<MibObj> mibObjs)
void
setName(java.lang.String name)
void
setProperties(java.util.List<MibObjProperty> mibObjProperties)
java.lang.String
toString()
void
visit(DatacollectionConfigVisitor visitor)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
group name
-
setName
public void setName(java.lang.String name)
-
getIfType
public java.lang.String getIfType()
Interface type.
Indicates the interface types from which the groups MIB objects are to be collected.
Supports individual ifType values or comma-separated list of ifType values in addition to "all" and "ignore" key words.
For example:
- "6" indicates that OIDs from this MIB group are to be collected only for ethernet interfaces (ifType = 6)
- "6,22" indicates that OIDs from this MIB group are to be collected only for ethernet and serial interfaces
- "all" indicates that the OIDs from this MIB group are to be collected for all interfaces regardless of ifType
- "ignore" indicates that OIDs from this MIB group are node-level objects.
Sample ifType descriptions/values: (Refer to http://www.iana.org/assignments/ianaiftype-mib for a comprehensive list.)
- ethernetCsmacd 6
- iso8825TokenRing 9
- fddi 15
- sdlc 17
- basicISDN 20
- primaryISDN 21
- propPointToPointSerial 22
- ppp 23
- atm 37
- sonet 39
- opticalChannel 195
-
setIfType
public void setIfType(java.lang.String ifType)
-
getMibObjs
public java.util.List<MibObj> getMibObjs()
-
setMibObjs
public void setMibObjs(java.util.List<MibObj> mibObjs)
-
addMibObj
public void addMibObj(MibObj mibObj) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeMibObj
public boolean removeMibObj(MibObj mibObj)
-
getIncludeGroups
public java.util.List<java.lang.String> getIncludeGroups()
-
setIncludeGroups
public void setIncludeGroups(java.util.List<java.lang.String> includeGroups)
-
addIncludeGroup
public void addIncludeGroup(java.lang.String includeGroup) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeIncludeGroup
public boolean removeIncludeGroup(java.lang.String includeGroup)
-
getProperties
public java.util.List<MibObjProperty> getProperties()
-
setProperties
public void setProperties(java.util.List<MibObjProperty> mibObjProperties)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
visit
public void visit(DatacollectionConfigVisitor visitor)
-
-