Enum SyslogFacility
- java.lang.Object
-
- java.lang.Enum<SyslogFacility>
-
- org.apache.camel.component.syslog.SyslogFacility
-
- All Implemented Interfaces:
Serializable
,Comparable<SyslogFacility>
public enum SyslogFacility extends Enum<SyslogFacility>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyslogFacility
valueOf(String name)
Returns the enum constant of this type with the specified name.static SyslogFacility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KERN
public static final SyslogFacility KERN
-
USER
public static final SyslogFacility USER
-
MAIL
public static final SyslogFacility MAIL
-
DAEMON
public static final SyslogFacility DAEMON
-
AUTH
public static final SyslogFacility AUTH
-
SYSLOG
public static final SyslogFacility SYSLOG
-
LPR
public static final SyslogFacility LPR
-
NEWS
public static final SyslogFacility NEWS
-
UUCP
public static final SyslogFacility UUCP
-
CRON
public static final SyslogFacility CRON
-
AUTHPRIV
public static final SyslogFacility AUTHPRIV
-
FTP
public static final SyslogFacility FTP
-
RESERVED_12
public static final SyslogFacility RESERVED_12
-
RESERVED_13
public static final SyslogFacility RESERVED_13
-
RESERVED_14
public static final SyslogFacility RESERVED_14
-
RESERVED_15
public static final SyslogFacility RESERVED_15
-
LOCAL0
public static final SyslogFacility LOCAL0
-
LOCAL1
public static final SyslogFacility LOCAL1
-
LOCAL2
public static final SyslogFacility LOCAL2
-
LOCAL3
public static final SyslogFacility LOCAL3
-
LOCAL4
public static final SyslogFacility LOCAL4
-
LOCAL5
public static final SyslogFacility LOCAL5
-
LOCAL6
public static final SyslogFacility LOCAL6
-
LOCAL7
public static final SyslogFacility LOCAL7
-
-
Method Detail
-
values
public static SyslogFacility[] 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 (SyslogFacility c : SyslogFacility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyslogFacility valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-