Groovy Documentation

com.ace.mws
[Groovy] Class GenericEvent

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 GenericEvents vary by configuration: one installation of Moab may report GenericEvents 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 String message

The message that goes with this GenericEvent

private String name

The name of the GenericEvent.

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

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 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

date

private Date date
The timestamp of when this GenericEvent was reported to Moab


message

private String message
The message that goes with this GenericEvent


name

private String name
The name of the GenericEvent. In other words, the type.


severity

private Integer severity
The severity level of the event (1-4, 1 is low severity, 0 is unset)


 
Constructor Detail

GenericEvent

GenericEvent()


 
Method Detail

getDate

Date getDate()
The timestamp of when this GenericEvent was reported to Moab


getMessage

String getMessage()
The message that goes with this GenericEvent


getName

String getName()
The name of the GenericEvent. In other words, the type.


getSeverity

Integer getSeverity()
The severity level of the event (1-4, 1 is low severity, 0 is unset)


setDate

void setDate(Date date)
The timestamp of when this GenericEvent was reported to Moab


setMessage

void setMessage(String message)
The message that goes with this GenericEvent


setName

void setName(String name)
The name of the GenericEvent. In other words, the type.


setSeverity

void setSeverity(Integer severity)
The severity level of the event (1-4, 1 is low severity, 0 is unset)


toString

String toString()


 

Groovy Documentation