public final class ServerDescriptionChangedEvent
extends java.lang.Object
Constructor and Description |
---|
ServerDescriptionChangedEvent(ServerId serverId,
ServerDescription newDescription,
ServerDescription previousDescription)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
ServerDescription |
getNewDescription()
Gets the new server description.
|
ServerDescription |
getPreviousDescription()
Gets the previous server description.
|
ServerId |
getServerId()
Gets the serverId.
|
java.lang.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()
public java.lang.String toString()
toString
in class java.lang.Object