Class VarbindMapping
- java.lang.Object
-
- org.opennms.netmgt.alarmd.northbounder.snmptrap.VarbindMapping
-
public class VarbindMapping extends java.lang.Object
The Class VarbindMapping.- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOG
The Constant LOG.
-
Constructor Summary
Constructors Constructor Description VarbindMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInstance()
Gets the varbind instancejava.lang.Integer
getMax()
Gets the max.java.lang.String
getName()
Gets the name.java.lang.String
getOid()
Gets the OID.Parm
getParameter(NorthboundAlarm alarm)
Gets the evaluated parameter object based on a given northbound alarmVarbindType
getType()
Gets the type.java.lang.String
getValue()
Gets the value.void
setInstance(java.lang.String instance)
Sets the varbind instance.void
setMax(java.lang.Integer max)
Sets the max.void
setName(java.lang.String name)
Sets the name.void
setOid(java.lang.String oid)
Sets the OID.void
setType(VarbindType type)
Sets the type.void
setValue(java.lang.String value)
Sets the value.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
getOid
public java.lang.String getOid()
Gets the OID.- Returns:
- the OID
-
getType
public VarbindType getType()
Gets the type.- Returns:
- the type
-
getValue
public java.lang.String getValue()
Gets the value.- Returns:
- the value
-
getInstance
public java.lang.String getInstance()
Gets the varbind instance- Returns:
- varbind instance
-
getMax
public java.lang.Integer getMax()
Gets the max.- Returns:
- the max
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name
- the new name
-
setOid
public void setOid(java.lang.String oid)
Sets the OID.- Parameters:
oid
- the new OID
-
setType
public void setType(VarbindType type)
Sets the type.- Parameters:
type
- the new type
-
setValue
public void setValue(java.lang.String value)
Sets the value.- Parameters:
value
- the new value
-
setInstance
public void setInstance(java.lang.String instance)
Sets the varbind instance.- Parameters:
instance
- the new varbind instance
-
setMax
public void setMax(java.lang.Integer max)
Sets the max.- Parameters:
max
- the new max
-
getParameter
public Parm getParameter(NorthboundAlarm alarm)
Gets the evaluated parameter object based on a given northbound alarm- Parameters:
alarm
- the alarm- Returns:
- the parameter
-
-