Package jnr.constants.platform.fake
Enum Syslog
- java.lang.Object
-
- java.lang.Enum<Syslog>
-
- jnr.constants.platform.fake.Syslog
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
Syslog(long value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
defined()
int
intValue()
long
longValue()
int
value()
static Syslog
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Syslog[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOG_ALERT
public static final Syslog LOG_ALERT
-
LOG_AUTH
public static final Syslog LOG_AUTH
-
LOG_AUTHPRIV
public static final Syslog LOG_AUTHPRIV
-
LOG_CONS
public static final Syslog LOG_CONS
-
LOG_CONSOLE
public static final Syslog LOG_CONSOLE
-
LOG_CRIT
public static final Syslog LOG_CRIT
-
LOG_CRON
public static final Syslog LOG_CRON
-
LOG_DAEMON
public static final Syslog LOG_DAEMON
-
LOG_DEBUG
public static final Syslog LOG_DEBUG
-
LOG_EMERG
public static final Syslog LOG_EMERG
-
LOG_ERR
public static final Syslog LOG_ERR
-
LOG_FTP
public static final Syslog LOG_FTP
-
LOG_INFO
public static final Syslog LOG_INFO
-
LOG_KERN
public static final Syslog LOG_KERN
-
LOG_LOCAL0
public static final Syslog LOG_LOCAL0
-
LOG_LOCAL1
public static final Syslog LOG_LOCAL1
-
LOG_LOCAL2
public static final Syslog LOG_LOCAL2
-
LOG_LOCAL3
public static final Syslog LOG_LOCAL3
-
LOG_LOCAL4
public static final Syslog LOG_LOCAL4
-
LOG_LOCAL5
public static final Syslog LOG_LOCAL5
-
LOG_LOCAL6
public static final Syslog LOG_LOCAL6
-
LOG_LOCAL7
public static final Syslog LOG_LOCAL7
-
LOG_LPR
public static final Syslog LOG_LPR
-
LOG_MAIL
public static final Syslog LOG_MAIL
-
LOG_NDELAY
public static final Syslog LOG_NDELAY
-
LOG_NEWS
public static final Syslog LOG_NEWS
-
LOG_NOTICE
public static final Syslog LOG_NOTICE
-
LOG_NOWAIT
public static final Syslog LOG_NOWAIT
-
LOG_NTP
public static final Syslog LOG_NTP
-
LOG_ODELAY
public static final Syslog LOG_ODELAY
-
LOG_PERROR
public static final Syslog LOG_PERROR
-
LOG_PID
public static final Syslog LOG_PID
-
LOG_SECURITY
public static final Syslog LOG_SECURITY
-
LOG_SYSLOG
public static final Syslog LOG_SYSLOG
-
LOG_USER
public static final Syslog LOG_USER
-
LOG_UUCP
public static final Syslog LOG_UUCP
-
LOG_WARNING
public static final Syslog LOG_WARNING
-
-
Field Detail
-
value
private final long value
-
MIN_VALUE
public static final long MIN_VALUE
- See Also:
- Constant Field Values
-
MAX_VALUE
public static final long MAX_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Syslog[] 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 (Syslog c : Syslog.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Syslog 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
-
value
public final int value()
-
-