@ConfigurationProperties(value="syslog.supplier") @Validated public class SyslogSupplierProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SyslogSupplierProperties.Protocol |
Constructor and Description |
---|
SyslogSupplierProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize() |
int |
getPort() |
SyslogSupplierProperties.Protocol |
getProtocol() |
@NotNull String |
getRfc() |
int |
getSocketTimeout() |
boolean |
isNio() |
boolean |
isReverseLookup() |
@AssertTrue(message="rfc must be 5424 or 3164") boolean |
isSupportedRfc() |
void |
setBufferSize(int bufferSize) |
void |
setNio(boolean nio) |
void |
setPort(int port) |
void |
setProtocol(SyslogSupplierProperties.Protocol protocol) |
void |
setReverseLookup(boolean reverseLookup) |
void |
setRfc(String rfc) |
void |
setSocketTimeout(int socketTimeout) |
public int getBufferSize()
public void setBufferSize(int bufferSize)
public SyslogSupplierProperties.Protocol getProtocol()
public void setProtocol(SyslogSupplierProperties.Protocol 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()
Copyright © 2022. All rights reserved.