public interface IMonitorEventSPI extends IMonitorEvent
DEFAULT_EVENT_PREFIX
Modifier and Type | Method and Description |
---|---|
IMonitorEventSPI |
addField(IMonitorField field,
boolean required)
Adds the given field in this event.
|
IMonitorEventSPI |
addFieldGroup(IMonitorFieldGroup fieldGroup,
boolean required)
Adds the given field group in this event.
|
Collection<IMonitorFieldInstance> |
getDirectFields()
Returns the fields that are associated with this event directly (not through a field group).
|
Collection<IMonitorFieldGroupInstance> |
getFieldsGroups()
Returns the field groups associated with this event.
|
boolean |
isProcessActionEvent()
Returns if the event is a process action event.
|
IMonitorEventSPI |
removeField(String fieldId)
Removes the given field.
|
IMonitorEventSPI |
removeFieldGroup(String fieldGroupId)
Removes the given field group.
|
IMonitorEventSPI |
setDescription(String description)
Sets the description for this event.
|
IMonitorEventSPI |
setEnabled(boolean enabled)
Enables or disables the monitoring of this event.
|
IMonitorEventSPI |
setImage(String image)
Sets the image.
|
IMonitorEventSPI |
setName(String name)
Sets the name for this event.
|
IMonitorEventSPI |
setProcessActionEvent(boolean isProcessActionEvent)
Sets this event either as process action event or a normal one.
|
IMonitorEventSPI |
setStandard(boolean isStandard)
Sets this event either as standard or custom (non-standard).
|
IMonitorEventSPI |
setStringResourcePath(String stringResourcePath)
Sets the string resource path for this event.
|
IMonitorEventSPI |
setVerb(String verb)
Sets the image.
|
getDescription, getFields, getId, getImage, getLocalizedDescription, getLocalizedName, getLocalizedVerb, getName, getStringResourcePath, getVerb, isEnabled
IMonitorEventSPI addField(IMonitorField field, boolean required)
field
- the field.required
- indicates whether the given field is required.IMonitorEventSPI addFieldGroup(IMonitorFieldGroup fieldGroup, boolean required)
fieldGroup
- the field grouprequired
- indicates whether the fields of the given field group are required.IMonitorEventSPI removeField(String fieldId)
fieldId
- the field identifier.IMonitorEventSPI removeFieldGroup(String fieldGroupId)
fieldGroupId
- the field group identifier.IMonitorEventSPI setDescription(String description)
description
- the description to set.IMonitorEvent.getDescription()
IMonitorEventSPI setEnabled(boolean enabled)
enabled
- true to enable or false to disable.IMonitorEventSPI setName(String name)
name
- the nameIMonitorEvent.getName()
IMonitorEventSPI setStringResourcePath(String stringResourcePath)
stringResourcePath
- the string resource path.IMonitorEvent.getStringResourcePath()
IMonitorEventSPI setStandard(boolean isStandard)
isStandard
- true to mark this event as standard, false to custom.IMonitorEventSPI setProcessActionEvent(boolean isProcessActionEvent)
isProcessActionEvent
- true to mark this event as a process action one.IMonitorEventSPI setImage(String image)
image
- the image value to set.IMonitorEventSPI setVerb(String verb)
image
- the image value to set.boolean isProcessActionEvent()
Collection<IMonitorFieldInstance> getDirectFields()
Collection<IMonitorFieldGroupInstance> getFieldsGroups()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.