Package org.apache.sshd.common.config
Enum SyslogFacilityValue
- java.lang.Object
-
- java.lang.Enum<SyslogFacilityValue>
-
- org.apache.sshd.common.config.SyslogFacilityValue
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SyslogFacilityValue>
public enum SyslogFacilityValue extends java.lang.Enum<SyslogFacilityValue>
- See Also:
- SyslogFacility configuration value
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Set<SyslogFacilityValue>
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
SyslogFacilityValue()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyslogFacilityValue
fromName(java.lang.String n)
static SyslogFacilityValue
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SyslogFacilityValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAEMON
public static final SyslogFacilityValue DAEMON
-
USER
public static final SyslogFacilityValue USER
-
AUTH
public static final SyslogFacilityValue AUTH
-
LOCAL0
public static final SyslogFacilityValue LOCAL0
-
LOCAL1
public static final SyslogFacilityValue LOCAL1
-
LOCAL2
public static final SyslogFacilityValue LOCAL2
-
LOCAL3
public static final SyslogFacilityValue LOCAL3
-
LOCAL4
public static final SyslogFacilityValue LOCAL4
-
LOCAL5
public static final SyslogFacilityValue LOCAL5
-
LOCAL6
public static final SyslogFacilityValue LOCAL6
-
LOCAL7
public static final SyslogFacilityValue LOCAL7
-
-
Field Detail
-
VALUES
public static final java.util.Set<SyslogFacilityValue> VALUES
-
-
Method Detail
-
values
public static SyslogFacilityValue[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SyslogFacilityValue c : SyslogFacilityValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyslogFacilityValue valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromName
public static SyslogFacilityValue fromName(java.lang.String n)
-
-