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