Package org.javacord.core.event.user
Class UserChangeNameEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.user.UserEventImpl
-
- org.javacord.core.event.user.UserChangeNameEventImpl
-
- All Implemented Interfaces:
Event
,UserChangeNameEvent
,UserEvent
public class UserChangeNameEventImpl extends UserEventImpl implements UserChangeNameEvent
The implementation ofUserChangeNameEvent
.
-
-
Constructor Summary
Constructors Constructor Description UserChangeNameEventImpl(User user, String newName, String oldName)
Creates a new user change name event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNewName()
String
getOldName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.javacord.core.event.user.UserEventImpl
getUser
-
-
-
-
Method Detail
-
getNewName
public String getNewName()
- Specified by:
getNewName
in interfaceUserChangeNameEvent
-
getOldName
public String getOldName()
- Specified by:
getOldName
in interfaceUserChangeNameEvent
-
-