CB Context ( antares.context.CBContext
)¶
Antares context module.
-
class
antares.context.
CBContext
¶ Bases:
antares.context.Context
Represents a CB (Alert Combo) context object which is a sub-class of
Context
. It contains all the properties defined under CB context. :param: container_id(int): ID of the object that owns the context, which is aAlertCombo
.Attributes Summary
name
Name of CB context. alert_combo
This is the AlertCombo which contains this CBContext. Methods Summary
assembleVector_replicas
(context, propname)The function assembles a vector of all the values of an property inside a context of the alert replicas associated with the alert combo. Attributes Documentation
-
name
= 'CB'¶ Name of CB context.
Type: string
-
alert_combo
= None¶ This is the AlertCombo which contains this CBContext.
Type: AlertCombo
Methods Documentation
-
assembleVector_replicas
(context, propname)¶ The function assembles a vector of all the values of an property inside a context of the alert replicas associated with the alert combo.
Parameters: Returns: a list of values
Return type:
-