Class CloudServiceEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.driver.event.events.service.CloudServiceEvent
- Direct Known Subclasses:
CloudServiceLifecycleChangeEvent,CloudServiceLogEntryEvent,CloudServiceUpdateEvent
Represents an event which is related to services running within the cluster. More specific events are only available
on a per-node basis.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCloudServiceEvent(@NonNull ServiceInfoSnapshot serviceInfo) Constructs a new cloud service event. -
Method Summary
Modifier and TypeMethodDescriptionGet the service info which is associated with this event.
-
Field Details
-
serviceInfo
-
-
Constructor Details
-
CloudServiceEvent
Constructs a new cloud service event.- Parameters:
serviceInfo- the service info associated with this event.- Throws:
NullPointerException- if the given service info is null.
-
-
Method Details
-
serviceInfo
Get the service info which is associated with this event.- Returns:
- the service info which is associated with this event.
-