|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.GenericEvent
class GenericEvent
A GenericEvent is an event that is reported by a ResourceManager on a
MoabNode or VM. Usually, there is some corresponding action
defined in the moab.cfg
file.
GenericEvents are defined by a "name" characteristic, which indicates the
type of thing happened on the resource associated with it. For example, a
"highcputemp" GenericEvent
might be reported by a
ResourceManager
when it detects that the CPU temperature has
risen about 50°C.
Note that GenericEvent
s vary by configuration: one installation
of Moab may report GenericEvent
s of "highcputemp" while another
would report "cputemphigh". Although the meaning is the same, the
type or name is different.
Field Summary | |
---|---|
private Date |
date
The timestamp of when this GenericEvent was reported to Moab |
private Long |
id
|
private String |
message
The message that goes with this GenericEvent |
private String |
name
The name of the GenericEvent. |
private static long |
serialVersionUID
|
private Integer |
severity
The severity level of the event (1-4, 1 is low severity, 0 is unset) |
Constructor Summary | |
GenericEvent()
|
Method Summary | |
---|---|
Date
|
getDate()
The timestamp of when this GenericEvent was reported to Moab |
Long
|
getId()
|
String
|
getMessage()
The message that goes with this GenericEvent |
String
|
getName()
The name of the GenericEvent. |
Integer
|
getSeverity()
The severity level of the event (1-4, 1 is low severity, 0 is unset) |
void
|
setDate(Date date)
The timestamp of when this GenericEvent was reported to Moab |
void
|
setId(Long id)
|
void
|
setMessage(String message)
The message that goes with this GenericEvent |
void
|
setName(String name)
The name of the GenericEvent. |
void
|
setSeverity(Integer severity)
The severity level of the event (1-4, 1 is low severity, 0 is unset) |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private Date date
private Long id
private String message
private String name
private static final long serialVersionUID
private Integer severity
Constructor Detail |
---|
GenericEvent()
Method Detail |
---|
Date getDate()
Long getId()
String getMessage()
String getName()
Integer getSeverity()
void setDate(Date date)
void setId(Long id)
void setMessage(String message)
void setName(String name)
void setSeverity(Integer severity)
String toString()
Groovy Documentation