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.LoggerLOGThe Constant LOG.
-
Constructor Summary
Constructors Constructor Description VarbindMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstance()Gets the varbind instanceIntegergetMax()Gets the max.StringgetName()Gets the name.StringgetOid()Gets the OID.ParmgetParameter(NorthboundAlarm alarm)Gets the evaluated parameter object based on a given northbound alarmVarbindTypegetType()Gets the type.StringgetValue()Gets the value.voidsetInstance(String instance)Sets the varbind instance.voidsetMax(Integer max)Sets the max.voidsetName(String name)Sets the name.voidsetOid(String oid)Sets the OID.voidsetType(VarbindType type)Sets the type.voidsetValue(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
-
-