Class ImmutableSnmp
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableSnmp
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableSnmp.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCommunity()IntegergetGeneric()StringgetId()StringgetIdtext()IntegergetSpecific()LonggetTimeStamp()StringgetTrapOID()StringgetVersion()booleanhasGeneric()inthashCode()booleanhasSpecific()booleanhasTimeStamp()static ISnmpimmutableCopy(ISnmp snmp)static ImmutableSnmp.BuildernewBuilder()static ImmutableSnmp.BuildernewBuilderFrom(ISnmp snmp)StringtoString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableSnmp.Builder newBuilder()
-
newBuilderFrom
public static ImmutableSnmp.Builder newBuilderFrom(ISnmp snmp)
-
getTrapOID
public String getTrapOID()
- Specified by:
getTrapOIDin interfaceISnmp
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceISnmp
-
getSpecific
public Integer getSpecific()
- Specified by:
getSpecificin interfaceISnmp
-
getGeneric
public Integer getGeneric()
- Specified by:
getGenericin interfaceISnmp
-
getCommunity
public String getCommunity()
- Specified by:
getCommunityin interfaceISnmp
-
getTimeStamp
public Long getTimeStamp()
- Specified by:
getTimeStampin interfaceISnmp
-
hasGeneric
public boolean hasGeneric()
- Specified by:
hasGenericin interfaceISnmp
-
hasSpecific
public boolean hasSpecific()
- Specified by:
hasSpecificin interfaceISnmp
-
hasTimeStamp
public boolean hasTimeStamp()
- Specified by:
hasTimeStampin interfaceISnmp
-
-