Class Group
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.Group
-
- All Implemented Interfaces:
Serializable
public class Group extends Object implements Serializable
a MIB object group- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIncludeGroup(String includeGroup)
void
addMibObj(MibObj mibObj)
boolean
equals(Object obj)
String
getIfType()
Interface type.List<String>
getIncludeGroups()
List<MibObj>
getMibObjs()
String
getName()
group nameList<MibObjProperty>
getProperties()
int
hashCode()
boolean
removeIncludeGroup(String includeGroup)
boolean
removeMibObj(MibObj mibObj)
void
setIfType(String ifType)
void
setIncludeGroups(List<String> includeGroups)
void
setMibObjs(List<MibObj> mibObjs)
void
setName(String name)
void
setProperties(List<MibObjProperty> mibObjProperties)
String
toString()
void
visit(DatacollectionConfigVisitor visitor)
-
-
-
Constructor Detail
-
Group
public Group()
-
Group
public Group(String name)
-
-
Method Detail
-
getName
public String getName()
group name
-
setName
public void setName(String name)
-
getIfType
public 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(String ifType)
-
addMibObj
public void addMibObj(MibObj mibObj) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeMibObj
public boolean removeMibObj(MibObj mibObj)
-
addIncludeGroup
public void addIncludeGroup(String includeGroup) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeIncludeGroup
public boolean removeIncludeGroup(String includeGroup)
-
getProperties
public List<MibObjProperty> getProperties()
-
setProperties
public void setProperties(List<MibObjProperty> mibObjProperties)
-
visit
public void visit(DatacollectionConfigVisitor visitor)
-
-