@ConfigurationProperties(prefix="syslog") @Validated public class SyslogSourceProperties extends Object
Constructor and Description |
---|
SyslogSourceProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize() |
int |
getPort() |
String |
getProtocol() |
@NotNull String |
getRfc() |
int |
getSocketTimeout() |
boolean |
isNio() |
boolean |
isReverseLookup() |
@AssertTrue(message="protocl must be \'udp\' or \'tcp\' or \'both\'") boolean |
isSupportedProtocol() |
@AssertTrue(message="rfc must be 5424 or 3164") boolean |
isSupportedRfc() |
void |
setBufferSize(int bufferSize) |
void |
setNio(boolean nio) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setReverseLookup(boolean reverseLookup) |
void |
setRfc(String rfc) |
void |
setSocketTimeout(int socketTimeout) |
public int getBufferSize()
public void setBufferSize(int bufferSize)
public String getProtocol()
public void setProtocol(String protocol)
public int getPort()
public void setPort(int port)
public boolean isNio()
public void setNio(boolean nio)
public boolean isReverseLookup()
public void setReverseLookup(boolean reverseLookup)
public int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
@NotNull public @NotNull String getRfc()
public void setRfc(String rfc)
@AssertTrue(message="rfc must be 5424 or 3164") public @AssertTrue(message="rfc must be 5424 or 3164") boolean isSupportedRfc()
@AssertTrue(message="protocl must be \'udp\' or \'tcp\' or \'both\'") public @AssertTrue(message="protocl must be \'udp\' or \'tcp\' or \'both\'") boolean isSupportedProtocol()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.