|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvent
An event that may be monitored. Its definition specifies how its data is collected and aggregated.
lumis.portal.monitor
Method Summary | |
---|---|
Collection<? extends IAggregationType> |
getAggregationTypes()
Returns the aggregation types for this event. |
ICategory |
getCategory()
Returns the category this event belongs to. |
String |
getDescription()
Returns the description for this event. |
long |
getDuration()
Returns the aggregation duration used for this event's data. |
String |
getEventKey()
Returns the key for this event. |
String |
getId()
Returns the identifier for this event. |
String |
getName()
Returns the name for this event. |
String |
getStringResourcePath()
The string resource path for localizing this event's strings. |
boolean |
isEnabled()
Returns if the monitoring for this event is enabled. |
void |
setDescription(String description)
Sets the description for this event. |
void |
setDuration(long duration)
Sets the duration for the aggregation of this event's data. |
void |
setEnabled(boolean enabled)
Enables or disables the monitoring of this event. |
void |
setEventKey(String key)
Sets the key for this event. |
void |
setName(String name)
Sets the name for this event. |
void |
setStringResourcePath(String stringResourcePath)
Sets the string resource path for this event. |
Method Detail |
---|
String getId()
ICategory getCategory()
Collection<? extends IAggregationType> getAggregationTypes()
String getDescription()
getStringResourcePath()
.
void setDescription(String description)
description
- the description to set.getDescription()
long getDuration()
void setDuration(long duration)
duration
- the duration in milliseconds.getDuration()
boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- true to enable or false to disable.String getEventKey()
void setEventKey(String key)
key
- the key.getEventKey()
String getName()
getStringResourcePath()
.
void setName(String name)
name
- the namegetName()
String getStringResourcePath()
void setStringResourcePath(String stringResourcePath)
stringResourcePath
- the string resource path.getStringResourcePath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |