public final class ClusterDescriptionChangedEvent extends Object
| Constructor and Description |
|---|
ClusterDescriptionChangedEvent(ClusterId clusterId,
ClusterDescription newDescription,
ClusterDescription previousDescription)
Constructs a new instance of the event.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterId |
getClusterId()
Gets the cluster id associated with this event.
|
ClusterDescription |
getNewDescription()
Gets the new cluster description.
|
ClusterDescription |
getPreviousDescription()
Gets the previous cluster description.
|
String |
toString() |
public ClusterDescriptionChangedEvent(ClusterId clusterId, ClusterDescription newDescription, ClusterDescription previousDescription)
clusterId - the non-null cluster idnewDescription - the non-null new cluster descriptionpreviousDescription - the non-null previous cluster descriptionpublic ClusterId getClusterId()
public ClusterDescription getNewDescription()
public ClusterDescription getPreviousDescription()