Class Mapping
- java.lang.Object
-
- org.opennms.netmgt.config.rancid.adapter.Mapping
-
- All Implemented Interfaces:
java.io.Serializable
public class Mapping extends java.lang.Object implements java.io.Serializable
A map from sysoids masks and rancid device type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Mapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Optional<java.lang.String>
getSysdescrMatch()
java.lang.String
getSysoidMask()
java.lang.String
getType()
int
hashCode()
void
setSysdescrMatch(java.lang.String sysdescrMatch)
void
setSysoidMask(java.lang.String sysoidMask)
void
setType(java.lang.String type)
-
-
-
Method Detail
-
getSysoidMask
public java.lang.String getSysoidMask()
-
setSysoidMask
public void setSysoidMask(java.lang.String sysoidMask)
-
getSysdescrMatch
public java.util.Optional<java.lang.String> getSysdescrMatch()
-
setSysdescrMatch
public void setSysdescrMatch(java.lang.String sysdescrMatch)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-