public static enum SNMP4JSettings.ReportSecurityLevelStrategy extends java.lang.Enum<SNMP4JSettings.ReportSecurityLevelStrategy>
Enum Constant and Description |
---|
neverNoAuthNoPriv
Never use noAuthNoPriv security level for reports.
|
noAuthNoPrivIfNeeded
This is the SNMP4J < 2.2.0 default strategy.
|
standard
The standard report strategy is conforming to RFC 3412 and 3414.
|
Modifier and Type | Method and Description |
---|---|
static SNMP4JSettings.ReportSecurityLevelStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SNMP4JSettings.ReportSecurityLevelStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SNMP4JSettings.ReportSecurityLevelStrategy noAuthNoPrivIfNeeded
public static final SNMP4JSettings.ReportSecurityLevelStrategy standard
public static final SNMP4JSettings.ReportSecurityLevelStrategy neverNoAuthNoPriv
public static SNMP4JSettings.ReportSecurityLevelStrategy[] values()
for (SNMP4JSettings.ReportSecurityLevelStrategy c : SNMP4JSettings.ReportSecurityLevelStrategy.values()) System.out.println(c);
public static SNMP4JSettings.ReportSecurityLevelStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null