Class CloudServicePreLifecycleEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.node.event.service.CloudServiceEvent
eu.cloudnetservice.node.event.service.CloudServicePreLifecycleEvent
- All Implemented Interfaces:
eu.cloudnetservice.driver.event.Cancelable
public final class CloudServicePreLifecycleEvent
extends CloudServiceEvent
implements eu.cloudnetservice.driver.event.Cancelable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final eu.cloudnetservice.driver.service.ServiceLifeCycle -
Constructor Summary
ConstructorsConstructorDescriptionCloudServicePreLifecycleEvent(@NonNull CloudService service, @NonNull eu.cloudnetservice.driver.service.ServiceLifeCycle targetLifecycle) -
Method Summary
Methods inherited from class CloudServiceEvent
service, serviceConfiguration, serviceInfo
-
Field Details
-
targetLifecycle
private final eu.cloudnetservice.driver.service.ServiceLifeCycle targetLifecycle -
cancelled
private volatile boolean cancelled
-
-
Constructor Details
-
CloudServicePreLifecycleEvent
public CloudServicePreLifecycleEvent(@NonNull @NonNull CloudService service, @NonNull @NonNull eu.cloudnetservice.driver.service.ServiceLifeCycle targetLifecycle)
-
-
Method Details
-
targetLifecycle
-
cancelled
public boolean cancelled()- Specified by:
cancelledin interfaceeu.cloudnetservice.driver.event.Cancelable
-
cancelled
public void cancelled(boolean value) - Specified by:
cancelledin interfaceeu.cloudnetservice.driver.event.Cancelable
-