public class AdminEvent extends Event
Event.NonVetoable
Constructor and Description |
---|
AdminEvent(IEventListener source)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogin() |
long |
getUserId()
Gets the userId of the user who performed this action.
|
void |
setLogin(java.lang.String login) |
void |
setUserId(long userId)
Sets the userId of the user who performed this action.
|
public AdminEvent(IEventListener source)
source
- The event sourcepublic void setUserId(long userId)
user
- The new userId valuepublic long getUserId()
public java.lang.String getLogin()
public void setLogin(java.lang.String login)
login
- the login to setBuilt on October 18 2017