public static enum SyslogDestination.SyslogProtocol extends Enum<SyslogDestination.SyslogProtocol>
| Enum Constant and Description | 
|---|
TCP
The TCP Syslog Protocol. 
 | 
UDP
The UDP Syslog Protocol. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getId()
Gets the id. 
 | 
static SyslogDestination.SyslogProtocol | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static SyslogDestination.SyslogProtocol[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SyslogDestination.SyslogProtocol UDP
public static final SyslogDestination.SyslogProtocol TCP
public static SyslogDestination.SyslogProtocol[] values()
for (SyslogDestination.SyslogProtocol c : SyslogDestination.SyslogProtocol.values()) System.out.println(c);
public static SyslogDestination.SyslogProtocol 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 getId()
Copyright © 2020. All rights reserved.