Class AuditLogImpl
- java.lang.Object
-
- org.javacord.core.entity.auditlog.AuditLogImpl
-
-
Constructor Summary
Constructors Constructor Description AuditLogImpl(Server server)
Creates a new audit log.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntries(com.fasterxml.jackson.databind.JsonNode data)
Adds entries to the audit log.DiscordApi
getApi()
List<AuditLogEntry>
getEntries()
Collection<User>
getInvolvedUsers()
Collection<Webhook>
getInvolvedWebhooks()
Server
getServer()
-
-
-
Constructor Detail
-
AuditLogImpl
public AuditLogImpl(Server server)
Creates a new audit log.- Parameters:
server
- The server of the audit log.
-
-
Method Detail
-
addEntries
public void addEntries(com.fasterxml.jackson.databind.JsonNode data)
Adds entries to the audit log.- Parameters:
data
- The json data of the audit log.
-
getApi
public DiscordApi getApi()
-
getInvolvedWebhooks
public Collection<Webhook> getInvolvedWebhooks()
- Specified by:
getInvolvedWebhooks
in interfaceAuditLog
-
getInvolvedUsers
public Collection<User> getInvolvedUsers()
- Specified by:
getInvolvedUsers
in interfaceAuditLog
-
getEntries
public List<AuditLogEntry> getEntries()
- Specified by:
getEntries
in interfaceAuditLog
-
-