Package org.javacord.api.entity.auditlog
Interface AuditLogChange<T>
-
- Type Parameters:
T- The type of the changed param.
public interface AuditLogChange<T>This class represents an audit log change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<T>getNewValue()Gets the new value of the change.java.util.Optional<T>getOldValue()Gets the old value of the change.AuditLogChangeTypegetType()Gets the type of the change.
-
-
-
Method Detail
-
getType
AuditLogChangeType getType()
Gets the type of the change.- Returns:
- The type of the change.
-
getOldValue
java.util.Optional<T> getOldValue()
Gets the old value of the change.- Returns:
- The old value of the change.
-
getNewValue
java.util.Optional<T> getNewValue()
Gets the new value of the change.- Returns:
- The new value of the change.
-
-