public final class ServerDescriptionChangedEvent extends Object
Constructor | Description |
---|---|
ServerDescriptionChangedEvent(ServerId serverId,
ServerDescription newDescription,
ServerDescription previousDescription) |
Construct an instance.
|
Modifier and Type | Method | Description |
---|---|---|
ServerDescription |
getNewDescription() |
Gets the new server description.
|
ServerDescription |
getPreviousDescription() |
Gets the previous server description.
|
ServerId |
getServerId() |
Gets the serverId.
|
String |
toString() |
public ServerDescriptionChangedEvent(ServerId serverId, ServerDescription newDescription, ServerDescription previousDescription)
serverId
- the non-null serverIdnewDescription
- the non-null new descriptionpreviousDescription
- the non-null previous descriptionpublic ServerId getServerId()
public ServerDescription getNewDescription()
public ServerDescription getPreviousDescription()