public class StartEvent extends Event
Modifier and Type | Field and Description |
---|---|
static String |
ID |
static String |
IS_USING_NON_JAVA_OUTPUT |
Modifier | Constructor and Description |
---|---|
protected |
StartEvent(Identification source)
Creates a new Event Object
|
protected |
StartEvent(Identification source,
String descriptor)
Creates a new Event Object
|
Modifier and Type | Method and Description |
---|---|
static Optional<StartEvent> |
createStartEvent(Identification source)
creates a new StartEvent.
|
static Optional<StartEvent> |
createStartEvent(Identification source,
boolean isUsingJava)
creates a new StartEvent
|
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
public static final String IS_USING_NON_JAVA_OUTPUT
protected StartEvent(Identification source) throws IllegalArgumentException
source
- the source of the Event, most likely a this reference.IllegalArgumentException
- if one of the Arguments is null or emptyprotected StartEvent(Identification source, String descriptor) throws IllegalArgumentException
source
- the source of the Event, most likely a this reference.descriptor
- the descriptor to add (used for IS_USING_NON_JAVA_OUTPUT)IllegalArgumentException
- if one of the Arguments is null or emptypublic static Optional<StartEvent> createStartEvent(Identification source)
source
- the callerpublic static Optional<StartEvent> createStartEvent(Identification source, boolean isUsingJava)
source
- the callerisUsingJava
- true if using java, false if not (and for example a C-library)Copyright © 2016. All rights reserved.