@StableMinor(version="10.1", sinceVersion="9.0") public interface IMonitorEvent
lumis.portal.monitor
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_EVENT_PREFIX
Default event prefix.
|
Modifier and Type | Method and Description |
---|---|
IMonitorEvent |
addField(IMonitorField field,
boolean required)
Adds the given field in this event.
|
String |
getDescription()
Returns the description for this event.
|
Collection<IMonitorEventField> |
getFields()
Returns the fields of 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.
|
IMonitorEvent |
setDescription(String description)
Sets the description for this event.
|
IMonitorEvent |
setEnabled(boolean enabled)
Enables or disables the monitoring of this event.
|
IMonitorEvent |
setName(String name)
Sets the name for this event.
|
IMonitorEvent |
setStringResourcePath(String stringResourcePath)
Sets the string resource path for this event.
|
static final String DEFAULT_EVENT_PREFIX
String getId()
Collection<IMonitorEventField> getFields()
IMonitorEvent addField(IMonitorField field, boolean required)
field
- the field.required
- indicates whether the given field is required.String getDescription()
getStringResourcePath()
.IMonitorEvent setDescription(String description)
description
- the description to set.getDescription()
boolean isEnabled()
IMonitorEvent setEnabled(boolean enabled)
enabled
- true to enable or false to disable.String getName()
getStringResourcePath()
.IMonitorEvent setName(String name)
name
- the namegetName()
String getStringResourcePath()
IMonitorEvent setStringResourcePath(String stringResourcePath)
stringResourcePath
- the string resource path.getStringResourcePath()
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.