public class SyslogAuditLog<T extends SyslogAuditLog<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SyslogAuditLog.SyslogFormat |
static class |
SyslogAuditLog.Transport |
Constructor and Description |
---|
SyslogAuditLog(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Format |
format()
The format to use to record the audit event.
|
T |
format(Format value)
The format to use to record the audit event.
|
String |
getKey() |
String |
hostName()
The host name to embed withing all events sent to the remote syslog
server.
|
T |
hostName(String value)
The host name to embed withing all events sent to the remote syslog
server.
|
Integer |
port()
The listening port on the syslog server.
|
T |
port(Integer value)
The listening port on the syslog server.
|
Integer |
reconnectAttempts()
The maximum amount of failed reconnect attempts that should be made for
sending messages to a syslog server before the endpoint is closed.
|
T |
reconnectAttempts(Integer value)
The maximum amount of failed reconnect attempts that should be made for
sending messages to a syslog server before the endpoint is closed.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
serverAddress()
The server address of the syslog server the events should be sent to.
|
T |
serverAddress(String value)
The server address of the syslog server the events should be sent to.
|
String |
sslContext()
The SSLContext to use to connect to the syslog server when SSL_TCP
transport is used.
|
T |
sslContext(String value)
The SSLContext to use to connect to the syslog server when SSL_TCP
transport is used.
|
SyslogAuditLog.SyslogFormat |
syslogFormat()
The RFC format to be used for describing the audit event.
|
T |
syslogFormat(SyslogAuditLog.SyslogFormat value)
The RFC format to be used for describing the audit event.
|
SyslogAuditLog.Transport |
transport()
The transport to use to connect to the syslog server.
|
T |
transport(SyslogAuditLog.Transport value)
The transport to use to connect to the syslog server.
|
public SyslogAuditLog(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Format format()
public String hostName()
public T hostName(String value)
public Integer port()
public Integer reconnectAttempts()
public T reconnectAttempts(Integer value)
public String serverAddress()
public T serverAddress(String value)
public String sslContext()
public T sslContext(String value)
public SyslogAuditLog.SyslogFormat syslogFormat()
public T syslogFormat(SyslogAuditLog.SyslogFormat value)
public SyslogAuditLog.Transport transport()
public T transport(SyslogAuditLog.Transport value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.