public class MuteEvent extends Event
Modifier | Constructor and Description |
---|---|
protected |
MuteEvent(Identification source)
Creates a new Event Object
|
Modifier and Type | Method and Description |
---|---|
static Optional<MuteEvent> |
createMuteEvent(Identification source)
creates a new MuteEvent, will mute everything
|
static Optional<MuteEvent> |
createMuteEvent(Identification source,
Identification target)
creates a new MuteEvent
|
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 MuteEvent(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<MuteEvent> createMuteEvent(Identification source, Identification target)
source
- the callertarget
- the target who should start playingpublic static Optional<MuteEvent> createMuteEvent(Identification source)
source
- the callerCopyright © 2016. All rights reserved.