public class StopEvent extends Event
Modifier | Constructor and Description |
---|---|
protected |
StopEvent(Identification source)
Creates a new Event Object
|
Modifier and Type | Method and Description |
---|---|
static Optional<StopEvent> |
createStopEvent(Identification source)
creates a new StopEvent
|
static Optional<StopEvent> |
createStopEvent(Identification source,
Identification target)
creates a new StopEvent
|
addDescriptor, addEventLifeCycleListener, addResource, addResources, containsDescriptor, createEvent, createEvent, getAllInformations, getDescriptors, getEventBehaviourController, getID, getListResourceContainer, getSource, getType, lifecycleCallback, replaceDescriptors, setDescriptors, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isOwner
public static final String ID
protected StopEvent(Identification source) throws IllegalArgumentException
source
- the source of the Event, most likely a this reference.IllegalArgumentException
- if one of the Arguments is null or emptypublic static Optional<StopEvent> createStopEvent(Identification source, Identification target)
source
- the callertarget
- the target who should start playingpublic static Optional<StopEvent> createStopEvent(Identification source)
source
- the callerCopyright © 2016. All rights reserved.