Class AuditLogChangeImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.audit.AuditLogChangeImpl
- All Implemented Interfaces:
Entity
,AuditLogChange
,RequiresCatnip
- Since:
- 10/07/2018
- Author:
- SamOphis
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAuditLogChangeImpl
(Catnip catnip, Object oldValue, Object newValue, String key) -
Method Summary
-
Constructor Details
-
AuditLogChangeImpl
public AuditLogChangeImpl() -
AuditLogChangeImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
oldValue
public <T> T oldValue()- Specified by:
oldValue
in interfaceAuditLogChange
-
newValue
public <T> T newValue()- Specified by:
newValue
in interfaceAuditLogChange
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
key
- Specified by:
key
in interfaceAuditLogChange
-
oldValue
- Returns:
this
.
-
newValue
- Returns:
this
.
-
key
- Returns:
this
.
-