Package csw.params.events
Class SystemEvent$
java.lang.Object
csw.params.events.SystemEvent$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SystemEvent$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe apply method is used to create SystemEvent command by end-user.The apply method is used to create SystemEvent command by end-user.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
SystemEvent$
public SystemEvent$()
-
-
Method Details
-
apply
The apply method is used to create SystemEvent command by end-user. eventId is not accepted and will be created internally to guarantee unique value.- Parameters:
source
- prefix representing source of the eventeventName
- the name of event- Returns:
- a new instance of SystemEvent with auto-generated eventId, eventTime and empty paramSet
-
apply
public SystemEvent apply(Prefix source, EventName eventName, scala.collection.immutable.Set<Parameter<?>> paramSet) The apply method is used to create SystemEvent command by end-user. eventId is not accepted and will be created internally to guarantee unique value.- Parameters:
source
- prefix representing source of the eventeventName
- the name of eventparamSet
- an initial set of parameters (keys with values)- Returns:
- a new instance of SystemEvent with auto-generated eventId and eventTime
-