public class HealthEvent extends Object
Constructor and Description |
---|
HealthEvent(String sourceId,
Health health)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Health |
health()
Returns the new health status.
|
String |
sourceId()
Returns the id of the source of the event.
|
Copyright © 2016. All Rights Reserved.