ruon.jiao
Class JIAO.Alarm

java.lang.Object
  extended by ruon.jiao.JIAO.IAlarm
      extended by ruon.jiao.JIAO.Alarm
Enclosing class:
JIAO

public static class JIAO.Alarm
extends JIAO.IAlarm

An Alarm object passed to the reportAlarms() method to indicate an alarm


Nested Class Summary
 
Nested classes/interfaces inherited from class ruon.jiao.JIAO.IAlarm
JIAO.IAlarm.Severity
 
Field Summary
 
Fields inherited from class ruon.jiao.JIAO.IAlarm
CRITICAL, MAJOR, MINOR
 
Constructor Summary
JIAO.Alarm(java.lang.String resource, java.lang.String id, JIAO.IAlarm.Severity severity, java.lang.String description)
          Create an Alarm object
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JIAO.Alarm

public JIAO.Alarm(java.lang.String resource,
                  java.lang.String id,
                  JIAO.IAlarm.Severity severity,
                  java.lang.String description)
Create an Alarm object

Parameters:
resource - Resource that has the alarm. Combined with id, this is the unique identifier of the alarm. (Up to 256 bytes)
id - An id that is unique for the alarmed resource. (Up to 256 bytes)
severity - The severity of the alarm (Critical, Major or Minor)
description - The verbal description of the alarm (Up to 1024 bytes)