Class VarbindMapping
- java.lang.Object
-
- org.opennms.netmgt.alarmd.northbounder.snmptrap.VarbindMapping
-
public class VarbindMapping extends 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 String
getInstance()
Gets the varbind instanceInteger
getMax()
Gets the max.String
getName()
Gets the name.String
getOid()
Gets the OID.Parm
getParameter(NorthboundAlarm alarm)
Gets the evaluated parameter object based on a given northbound alarmVarbindType
getType()
Gets the type.String
getValue()
Gets the value.void
setInstance(String instance)
Sets the varbind instance.void
setMax(Integer max)
Sets the max.void
setName(String name)
Sets the name.void
setOid(String oid)
Sets the OID.void
setType(VarbindType type)
Sets the type.void
setValue(String value)
Sets the value.
-
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getOid
public String getOid()
Gets the OID.- Returns:
- the OID
-
getType
public VarbindType getType()
Gets the type.- Returns:
- the type
-
getValue
public String getValue()
Gets the value.- Returns:
- the value
-
getInstance
public String getInstance()
Gets the varbind instance- Returns:
- varbind instance
-
getMax
public Integer getMax()
Gets the max.- Returns:
- the max
-
setName
public void setName(String name)
Sets the name.- Parameters:
name
- the new name
-
setOid
public void setOid(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(String value)
Sets the value.- Parameters:
value
- the new value
-
setInstance
public void setInstance(String instance)
Sets the varbind instance.- Parameters:
instance
- the new varbind instance
-
setMax
public void setMax(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
-
-