Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.management.alarm
Class Alarm
All Implemented Interfaces:
       Serializable

public class Alarm      
A representation of a Serializable Management Event.
By convention we use the SNMP terminology and call it
an alarm, since this data will populate the SNMP traps.
Author:
msimonsen
Implements:
Serializable
 
Links:
Kernel Association Association Link
to Enumeration AlarmLevel
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
 
 

Nested Class Summary
public Static class
TYPE
Field Summary
String
boolean
Throwable
String
String
String
TYPE
private Throwable
private String
private String
private AlarmLevel
private String
private String
private boolean
private final static long
private TYPE
TYPE
CLEAR
TYPE
CLEAR_ALL
TYPE
SET
Constructor Summary
public void
Alarm(String msg)
public void
Alarm(String msg, Throwable e)
public void
public void
Alarm(String host, String msg, Throwable exception, AlarmLevel level, String id, String processId, TYPE type, Boolean recoverable)
Method Summary
public Throwable
public String
public String
public AlarmLevel
public String
public String
public TYPE
public boolean
public void
setException(Throwable exception)
public void
setHost(String host)
public void
setId(String id)
public void
public void
setMessage(String message)
public void
setProcessId(String processId)
public void
setRecoverable(Boolean recoverable)
public void
setType(TYPE type)
public String
Field Detail
exception
Throwable exception
 

exception
private Throwable exception
Multiplicity:
1
 

host
String host
 

host
private String host
Multiplicity:
1
 

id
String id
 

id
private String id
Multiplicity:
1
 

level
AlarmLevel level
 

level
private AlarmLevel level
Multiplicity:
1
 

message
String message
 

message
private String message
Multiplicity:
1
 

processId
private String processId
Multiplicity:
1
 

processId
String processId
 

recoverable
boolean recoverable
 

recoverable
private boolean recoverable
Multiplicity:
1
 

serialVersionUID
private final static long serialVersionUID
Final.
Multiplicity:
1
Static.
 

type
private TYPE type
Multiplicity:
1
 

type
TYPE type
 
Constructor Detail
Alarm
public void Alarm (String msg)
 
Stereotype:
create
 

Alarm
public void Alarm (String msg, Throwable e)
 
Stereotype:
create
 

Alarm
public void Alarm ()
 
Stereotype:
create
 

Alarm
public void Alarm (String host, String msg, Throwable exception, AlarmLevel level, String id, String processId, TYPE type, Boolean recoverable)
 
Stereotype:
create
 
Method Detail
getException
public Throwable getException ()
 
 

getHost
public String getHost ()
 
 

getId
public String getId ()
 
 

getLevel
public AlarmLevel getLevel ()
 
 

getMessage
public String getMessage ()
 
 

getProcessId
public String getProcessId ()
 
 

getType
public TYPE getType ()
 
 

isRecoverable
public boolean isRecoverable ()
 
 

setException
public void setException (Throwable exception)
 
 

setHost
public void setHost (String host)
 
 

setId
public void setId (String id)
 
 

setLevel
public void setLevel (AlarmLevel level)
 
 

setMessage
public void setMessage (String message)
 
 

setProcessId
public void setProcessId (String processId)
 
 

setRecoverable
public void setRecoverable (Boolean recoverable)
 
 

setType
public void setType (TYPE type)
 
 

toString
public String toString ()
 
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD