|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rhq.core.domain.event.Event
public class Event
A transpired event, pertaining to a particular Resource
.
Field Summary | |
---|---|
static String |
DELETE_BY_RESOURCES
|
static int |
DETAIL_MAX_LENGTH
|
static String |
FIND_EVENTS_FOR_RESOURCE_ID_AND_TIME
|
static String |
FIND_EVENTS_FOR_RESOURCE_ID_AND_TIME_SEVERITY
|
static String |
FIND_EVENTS_FOR_RESOURCES_AND_TIME
|
static String |
GET_DETAILS_FOR_EVENT_IDS
|
static String |
TABLE_NAME
|
Constructor Summary | |
---|---|
protected |
Event()
|
|
Event(String type,
String sourceLocation,
Date timestamp,
EventSeverity severity,
String detail)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Date |
getAckTime()
Returns the time this Event was acknowledged. |
String |
getAckUser()
Returns the user who acknowledged this Event. |
String |
getDetail()
|
String |
getDetailExcerpt()
|
int |
getId()
NOTE: This method is not intended to be called by plugins or the Plugin Container. |
EventSeverity |
getSeverity()
|
EventSource |
getSource()
NOTE: This method is not intended to be called by plugins or the Plugin Container. |
String |
getSourceLocation()
|
Date |
getTimestamp()
|
String |
getType()
|
int |
hashCode()
|
void |
setAckTime(Date ackTime)
Sets the time this Event was acknowledged. |
void |
setAckUser(String ackUser)
Sets the user who acknowledged this Event. |
void |
setDetailExcerpt(String detailExcerpt)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String TABLE_NAME
public static final int DETAIL_MAX_LENGTH
public static final String DELETE_BY_RESOURCES
public static final String FIND_EVENTS_FOR_RESOURCES_AND_TIME
public static final String FIND_EVENTS_FOR_RESOURCE_ID_AND_TIME
public static final String FIND_EVENTS_FOR_RESOURCE_ID_AND_TIME_SEVERITY
public static final String GET_DETAILS_FOR_EVENT_IDS
Constructor Detail |
---|
protected Event()
public Event(@NotNull String type, @NotNull String sourceLocation, @NotNull Date timestamp, @NotNull EventSeverity severity, @NotNull String detail)
type
- the name of the EventDefinition
that defines this event's typetimestamp
- the date/time this event occurredseverity
- the severity of this eventdetail
- the details of this eventMethod Detail |
---|
public int getId()
@Nullable public EventSource getSource()
@Nullable public String getType()
@Nullable public String getSourceLocation()
@NotNull public Date getTimestamp()
@NotNull public EventSeverity getSeverity()
@NotNull public String getDetail()
public void setAckTime(@Nullable Date ackTime)
ackTime
- the time this Event was acknowledged@Nullable public Date getAckTime()
public void setAckUser(@Nullable String ackUser)
ackUser
- the user who acknowledged this Event@Nullable public String getAckUser()
public String getDetailExcerpt()
public void setDetailExcerpt(String detailExcerpt)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |