com.h3c.of.ctl

## Interface Alert

-     public interface Alert

  Represents an alert raised by the controller.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `Alert.Severity` Designates the severity of the alert.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `description()` Returns a description of the alert condition.
    `Alert.Severity` | `severity()` Returns the severity of the alert.
    `long` | `ts()` Returns the alert timestamp.

- - ### Method Detail

    - #### ts

          long ts()

      Returns the alert timestamp. The timestamp is set to `TimeUtils.currentTimeMillis()` at the creation of the alert.
      Returns:
        the timestamp

    - #### severity

          Alert.Severity severity()

      Returns the severity of the alert.
      Returns:
        the alert severity

    - #### description

          String description()

      Returns a description of the alert condition.
      Returns:
        a description of the alert condition

Copyright © 2014. All Rights Reserved.