Enum SyslogDestination.SyslogFacility
- java.lang.Object
-
- java.lang.Enum<SyslogDestination.SyslogFacility>
-
- org.opennms.netmgt.alarmd.northbounder.syslog.SyslogDestination.SyslogFacility
-
- All Implemented Interfaces:
Serializable
,Comparable<SyslogDestination.SyslogFacility>
- Enclosing class:
- SyslogDestination
public static enum SyslogDestination.SyslogFacility extends Enum<SyslogDestination.SyslogFacility>
The Enumeration SyslogFacility.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH
The Authentication Syslog Facility.AUTHPRIV
The Authpriv Syslog Facility.CRON
The CRON Syslog Facility.DAEMON
The Daemon Syslog Facility.FTP
The FTP Syslog Facility.KERN
The Kernel Syslog Facility.LOCAL0
The LOCAL0 Syslog Facility.LOCAL1
The LOCAL1 Syslog Facility.LOCAL2
The LOCAL2 Syslog Facility.LOCAL3
The LOCAL3 Syslog Facility.LOCAL4
The LOCAL4 Syslog Facility.LOCAL5
The LOCAL5 Syslog Facility.LOCAL6
The LOCAL6 Syslog Facility.LOCAL7
The LOCAL7 Syslog Facility.LPR
The LPR Syslog Facility.MAIL
The Mail Syslog Facility.NEWS
The News Syslog Facility.SYSLOG
The Syslog Syslog Facility.USER
The User Syslog Facility.UUCP
The UUCP Syslog Facility.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Gets the id.static SyslogDestination.SyslogFacility
valueOf(String name)
Returns the enum constant of this type with the specified name.static SyslogDestination.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 SyslogDestination.SyslogFacility KERN
The Kernel Syslog Facility.
-
USER
public static final SyslogDestination.SyslogFacility USER
The User Syslog Facility.
-
MAIL
public static final SyslogDestination.SyslogFacility MAIL
The Mail Syslog Facility.
-
DAEMON
public static final SyslogDestination.SyslogFacility DAEMON
The Daemon Syslog Facility.
-
AUTH
public static final SyslogDestination.SyslogFacility AUTH
The Authentication Syslog Facility.
-
SYSLOG
public static final SyslogDestination.SyslogFacility SYSLOG
The Syslog Syslog Facility.
-
LPR
public static final SyslogDestination.SyslogFacility LPR
The LPR Syslog Facility.
-
NEWS
public static final SyslogDestination.SyslogFacility NEWS
The News Syslog Facility.
-
UUCP
public static final SyslogDestination.SyslogFacility UUCP
The UUCP Syslog Facility.
-
CRON
public static final SyslogDestination.SyslogFacility CRON
The CRON Syslog Facility.
-
AUTHPRIV
public static final SyslogDestination.SyslogFacility AUTHPRIV
The Authpriv Syslog Facility.
-
FTP
public static final SyslogDestination.SyslogFacility FTP
The FTP Syslog Facility.
-
LOCAL0
public static final SyslogDestination.SyslogFacility LOCAL0
The LOCAL0 Syslog Facility.
-
LOCAL1
public static final SyslogDestination.SyslogFacility LOCAL1
The LOCAL1 Syslog Facility.
-
LOCAL2
public static final SyslogDestination.SyslogFacility LOCAL2
The LOCAL2 Syslog Facility.
-
LOCAL3
public static final SyslogDestination.SyslogFacility LOCAL3
The LOCAL3 Syslog Facility.
-
LOCAL4
public static final SyslogDestination.SyslogFacility LOCAL4
The LOCAL4 Syslog Facility.
-
LOCAL5
public static final SyslogDestination.SyslogFacility LOCAL5
The LOCAL5 Syslog Facility.
-
LOCAL6
public static final SyslogDestination.SyslogFacility LOCAL6
The LOCAL6 Syslog Facility.
-
LOCAL7
public static final SyslogDestination.SyslogFacility LOCAL7
The LOCAL7 Syslog Facility.
-
-
Method Detail
-
values
public static SyslogDestination.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 (SyslogDestination.SyslogFacility c : SyslogDestination.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 SyslogDestination.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
-
getId
public String getId()
Gets the id.- Returns:
- the id
-
-