case class SystemEvent extends ParameterSetType[SystemEvent] with Event with Product with Serializable
Defines a system event. Constructor is private to ensure eventId is created internally to guarantee unique value.
- Alphabetic
- By Inheritance
- SystemEvent
- Serializable
- Product
- Equals
- Event
- ParameterSetType
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add[P <: Parameter[_]](parameter: P): SystemEvent
Adds a parameter to the parameter set
Adds a parameter to the parameter set
- P
the Parameter type
- parameter
the parameter to add
- returns
a new instance of this parameter set with the given parameter added
- Definition Classes
- ParameterSetType
- final def apply[S](key: Key[S]): Parameter[S]
Return the parameter associated with a Key rather than an Option
Return the parameter associated with a Key rather than an Option
- S
the Scala value type
- key
the Key to be used for lookup
- returns
the parameter associated with the Key or a NoSuchElementException if the key does not exist
- Definition Classes
- ParameterSetType
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def contains(key: Key[_]): Boolean
Returns true if the data contains the given key
Returns true if the data contains the given key
- Definition Classes
- ParameterSetType
- def create(data: Set[Parameter[_]]): SystemEvent
Create a new SystemEvent instance when a parameter is added or removed
Create a new SystemEvent instance when a parameter is added or removed
- data
set of parameters
- returns
a new instance of SystemEvent with new eventId, eventTime and provided data
- Attributes
- protected
- Definition Classes
- SystemEvent → ParameterSetType
- def dataToString: String
A comma separated string representation of parameters
A comma separated string representation of parameters
- Attributes
- protected
- Definition Classes
- ParameterSetType
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val eventId: Id
unique Id for event
unique Id for event
- Definition Classes
- SystemEvent → Event
- def eventKey: EventKey
The EventKey used to publish or subscribe an event
The EventKey used to publish or subscribe an event
- returns
an EventKey formed by combination of prefix and eventName of an event
- Definition Classes
- Event
- val eventName: EventName
The name of event
The name of event
- Definition Classes
- SystemEvent → Event
- val eventTime: UTCTime
The time of event creation
The time of event creation
- Definition Classes
- SystemEvent → Event
- def exists[S](key: Key[S]): Boolean
Returns true if the key exists in the parameter set
Returns true if the key exists in the parameter set
- S
the Scala value type
- key
the key to check for
- returns
true if the key is found
- Definition Classes
- ParameterSetType
- def find[S](parameter: Parameter[S]): Option[Parameter[S]]
Find a parameter based on it's keyName and keyType
Find a parameter based on it's keyName and keyType
- S
the type of values the Parameter holds
- parameter
who's keyName and keyType is used to get values and units
- returns
an Option of Parameter[S] if it is found, otherwise None
- Definition Classes
- ParameterSetType
- def get[S](keyName: String, keyType: KeyType[S]): Option[Parameter[S]]
Returns an Option with the parameter for the key if found, otherwise None
Returns an Option with the parameter for the key if found, otherwise None
- S
the value type
- keyName
the keyName for a key
- keyType
the keyType for a key
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
- def get[S](key: Key[S]): Option[Parameter[S]]
Returns an Option with the parameter for the key if found, otherwise None
Returns an Option with the parameter for the key if found, otherwise None
- S
the value type
- key
the Key to be used for lookup
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getStringMap: Map[String, String]
Returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read).
Returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read). Derived classes might want to add values to this map for fixed fields.
- Definition Classes
- ParameterSetType
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInvalid: Boolean
- Definition Classes
- Event
- def jFind[S](parameter: Parameter[S]): Optional[Parameter[S]]
A Java helper to find a parameter based on it's keyName and keyType
A Java helper to find a parameter based on it's keyName and keyType
- S
the type of values the Parameter holds
- parameter
who's keyName and keyType is used to get values and units
- returns
an Optional of Parameter[S] if it is found, otherwise empty
- Definition Classes
- ParameterSetType
- def jGet[S](keyName: String, keyType: KeyType[S]): Optional[Parameter[S]]
Returns an Optional with the parameter for the key if found, otherwise empty
Returns an Optional with the parameter for the key if found, otherwise empty
- S
the value type
- keyName
the keyName for a key
- keyType
the keyType for a key
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
- def jGet[S](key: Key[S]): Optional[Parameter[S]]
Returns an Optional with the parameter for the key if found, otherwise empty
Returns an Optional with the parameter for the key if found, otherwise empty
- S
the value type
- key
the Key to be used for lookup
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
- def jGetStringMap: Map[String, String]
A Java helper that returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read).
A Java helper that returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read). Derived classes might want to add values to this map for fixed fields.
- Definition Classes
- ParameterSetType
- def jMadd[P <: Parameter[_]](parametersToAdd: Set[P]): SystemEvent
- Definition Classes
- ParameterSetType
- def jMissingKeys(keys: Key[_]*): Set[String]
A Java helper that returns a set containing the names of any of the given keys that are missing in the data
A Java helper that returns a set containing the names of any of the given keys that are missing in the data
- keys
one or more keys
- Definition Classes
- ParameterSetType
- Annotations
- @varargs()
- def jParamSet: Set[Parameter[_]]
A Java helper to get parameters for this parameter set
A Java helper to get parameters for this parameter set
- Definition Classes
- ParameterSetType
- def madd[P <: Parameter[_]](parametersToAdd: Set[P]): SystemEvent
Adds several parameters to the parameter set
Adds several parameters to the parameter set
- P
must be a subclass of Parameter
- parametersToAdd
the list of parameters to add to the parameter set
- returns
a new instance of this parameter set with the given parameter added
- Definition Classes
- ParameterSetType
- Note
madd ensures check for duplicate key
- def madd[P <: Parameter[_]](parametersToAdd: P*): SystemEvent
Adds several parameters to the parameter set
Adds several parameters to the parameter set
- P
must be a subclass of Parameter
- parametersToAdd
the list of parameters to add to the parameter set
- returns
a new instance of this parameter set with the given parameter added
- Definition Classes
- ParameterSetType
- Annotations
- @varargs()
- Note
madd ensures check for duplicate key
- def missingKeys(keys: Key[_]*): Set[String]
Returns a set containing the names of any of the given keys that are missing in the data
Returns a set containing the names of any of the given keys that are missing in the data
- keys
one or more keys
- returns
a Set of key names
- Definition Classes
- ParameterSetType
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val paramSet: Set[Parameter[_]]
An optional initial set of parameters (keys with values)
An optional initial set of parameters (keys with values)
- Definition Classes
- SystemEvent → Event → ParameterSetType
- def paramType: ParameterSetType[_]
A helper to give access of public members of ParameterSetType
A helper to give access of public members of ParameterSetType
- returns
a handle to ParameterSetType extended by concrete implementation of this class
- Definition Classes
- Event
- final def parameter[S](key: Key[S]): Parameter[S]
Returns the actual parameter associated with a key
Returns the actual parameter associated with a key
- S
the Scala value type
- key
the Key to be used for lookup
- returns
the parameter associated with the key or a NoSuchElementException if the key does not exist
- Definition Classes
- ParameterSetType
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def remove[P <: Parameter[_]](parameter: P): SystemEvent
Removes a parameter based on the parameter
Removes a parameter based on the parameter
- P
the type of the parameter to be removed
- parameter
to be removed from the parameter set
- returns
a new T, where T is a parameter set child with the parameter removed or identical if the parameter is not present
- Definition Classes
- ParameterSetType
- def remove[S](key: Key[S]): SystemEvent
Remove a parameter from the parameter set by key
Remove a parameter from the parameter set by key
- S
the Scala value type
- key
the Key to be used for removal
- returns
a new T, where T is a parameter set child with the key removed or identical if the key is not present
- Definition Classes
- ParameterSetType
- def size: Int
The number of parameters in this parameter set
The number of parameters in this parameter set
- returns
the number of parameters in the parameter set
- Definition Classes
- ParameterSetType
- val source: Prefix
Prefix representing source of the event
Prefix representing source of the event
- Definition Classes
- SystemEvent → Event
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
A common toString method for all concrete implementation
A common toString method for all concrete implementation
- returns
the string representation of command
- Definition Classes
- Event → AnyRef → Any
- def typeName: String
A name identifying the type of parameter set, such as "setup", "observe".
A name identifying the type of parameter set, such as "setup", "observe". This is used in the JSON and toString output.
- Definition Classes
- ParameterSetType
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])