Package de.eimmer.ereignis.fahrzeug
Class FahrzeugErstellEreignis
java.lang.Object
de.eimmer.ereignis.Ereignis
de.eimmer.ereignis.fahrzeug.FahrzeugEreignis
de.eimmer.ereignis.fahrzeug.FahrzeugErstellEreignis
- All Implemented Interfaces:
Abbrechbar
Raised when a fahrzeug is created.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.eimmer.ereignis.Ereignis
Ereignis.Result
-
Field Summary
Fields inherited from class de.eimmer.ereignis.fahrzeug.FahrzeugEreignis
fahrzeug
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandhaberListe
boolean
Gets the cancellation state of this ereignis.void
setCancelled
(boolean cancelled) Sets the cancellation state of this ereignis.Methods inherited from class de.eimmer.ereignis.fahrzeug.FahrzeugEreignis
getVehicle
Methods inherited from class de.eimmer.ereignis.Ereignis
getEventName, isAsynchronous
-
Constructor Details
-
FahrzeugErstellEreignis
-
-
Method Details
-
isCancelled
public boolean isCancelled()Description copied from interface:Abbrechbar
Gets the cancellation state of this ereignis. A cancelled ereignis will not be executed in the server, but will still pass to other plugins- Specified by:
isCancelled
in interfaceAbbrechbar
- Returns:
- true if this ereignis is cancelled
-
setCancelled
public void setCancelled(boolean cancelled) Description copied from interface:Abbrechbar
Sets the cancellation state of this ereignis. A cancelled ereignis will not be executed in the server, but will still pass to other plugins.- Specified by:
setCancelled
in interfaceAbbrechbar
- Parameters:
cancelled
- true if you wish to cancel this ereignis
-
getHandlers
- Specified by:
getHandlers
in classEreignis
-
getHandlerList
-