Class ServiceTaskEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.driver.event.events.task.ServiceTaskEvent
- Direct Known Subclasses:
ServiceTaskAddEvent, ServiceTaskRemoveEvent
Represents an event which is related to service tasks in any way.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new service task event. -
Method Summary
-
Field Details
-
task
-
-
Constructor Details
-
ServiceTaskEvent
Constructs a new service task event.- Parameters:
task- the task associated with this event.- Throws:
NullPointerException- if the given task is null.
-
-
Method Details
-
task
Get the task which is associated with this event.- Returns:
- the task which is associated with this event.
-