public enum SyslogAttributes extends Enum<SyslogAttributes> implements FlowFileAttributeKey
| Enum Constant and Description |
|---|
BODY |
FACILITY |
HOSTNAME |
PORT |
PRIORITY |
PROTOCOL |
SENDER |
SEVERITY |
SYSLOG_BODY |
SYSLOG_FACILITY |
SYSLOG_HOSTNAME |
SYSLOG_PORT |
SYSLOG_PRIORITY |
SYSLOG_PROTOCOL |
SYSLOG_SENDER |
SYSLOG_SEVERITY |
SYSLOG_TIMESTAMP |
SYSLOG_VALID |
SYSLOG_VERSION |
TIMESTAMP |
VALID |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
String |
key() |
static SyslogAttributes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyslogAttributes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyslogAttributes SYSLOG_PRIORITY
public static final SyslogAttributes SYSLOG_SEVERITY
public static final SyslogAttributes SYSLOG_FACILITY
public static final SyslogAttributes SYSLOG_VERSION
public static final SyslogAttributes SYSLOG_TIMESTAMP
public static final SyslogAttributes SYSLOG_HOSTNAME
public static final SyslogAttributes SYSLOG_SENDER
public static final SyslogAttributes SYSLOG_BODY
public static final SyslogAttributes SYSLOG_VALID
public static final SyslogAttributes SYSLOG_PROTOCOL
public static final SyslogAttributes SYSLOG_PORT
public static final SyslogAttributes PRIORITY
public static final SyslogAttributes SEVERITY
public static final SyslogAttributes FACILITY
public static final SyslogAttributes VERSION
public static final SyslogAttributes TIMESTAMP
public static final SyslogAttributes HOSTNAME
public static final SyslogAttributes SENDER
public static final SyslogAttributes BODY
public static final SyslogAttributes VALID
public static final SyslogAttributes PROTOCOL
public static final SyslogAttributes PORT
private String key
public static SyslogAttributes[] values()
for (SyslogAttributes c : SyslogAttributes.values()) System.out.println(c);
public static SyslogAttributes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String key()
key in interface FlowFileAttributeKeyCopyright © 2023 Apache NiFi Project. All rights reserved.