Show / Hide Table of Contents

    Class AlertType

    Represents a definition of specific alert type coming from an alert source.

    Inheritance
    Object
    DomainObjectBase
    AlertType
    AlertTypeDefinition
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<AlertType>
    Inherited Members
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public class AlertType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<AlertType>
    Examples
    1. Violation of service agreements A or B.
    2. Expiration of X.509 certificates stored in the system in 2 weeks with alerts generating every 7 days until certificate is replaced.
    3. Exceeding the number of transactions per minute through the service A or B over 100 with alerts generating every hour until stopped.

    Constructors

    AlertType()

    Declaration
    public AlertType()

    Properties

    ActiveHandlersCount

    Gets the total number of enabled handlers which are assigned either to the alert type or one of the groups this alert type is a member of.

    Declaration
    public int ActiveHandlersCount { get; }
    Property Value
    Type Description
    Int32

    AlertSourceTypeId

    Gets or sets the identifier of the subsystem that is going to generate alerts of this type.

    Declaration
    public int AlertSourceTypeId { get; set; }
    Property Value
    Type Description
    Int32

    Configuration

    Gets or sets the custom XML configuration used by alert source (generator).

    Declaration
    public string Configuration { get; set; }
    Property Value
    Type Description
    String

    FrequencyTimeInterval

    Gets or sets the time interval length used to define maximum alert frequency. If events that trigger alert are happening more frequently, they will be ignored. In other words, FrequencyTimeInterval defines the minimum time interval in FrequencyTimeUnit units between two subsequent alerts of the same type and subtype.

    Declaration
    public int FrequencyTimeInterval { get; set; }
    Property Value
    Type Description
    Int32

    FrequencyTimeUnit

    Gets or sets the time interval units used to define maximum alert frequency. If events that trigger alert are happening more frequently, they will be ignored. In other words, FrequencyTimeInterval defines the minimum time interval in FrequencyTimeUnit units between two subsequent alerts of the same type and subtype.

    Declaration
    public TimeUnit FrequencyTimeUnit { get; set; }
    Property Value
    Type Description
    TimeUnit

    IsEnabled

    Gets or sets flag indicating that alerts of this type can be generated.

    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    Name

    Gets or sets the alert type friendly name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    Methods

    Equals(AlertType)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(AlertType other)
    Parameters
    Type Name Description
    AlertType other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that represents the current object.

    Overrides
    DomainObjectBase.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation