public class MonitorEventValuesProvider extends Object implements IMonitorValuesProvider
Constructor and Description |
---|
MonitorEventValuesProvider(Map<String,Object> source,
MonitorUser monUser,
String eventId) |
Modifier and Type | Method and Description |
---|---|
List<? extends Serializable> |
getValues(SessionConfig sessionConfig,
IMonitorField field,
ITransaction transaction)
Returns the values for the given field.
If this value provider does not provide values for the given field, it must return null .Note that returning a null value is not the same
as returning an empty list. |
public MonitorEventValuesProvider(Map<String,Object> source, MonitorUser monUser, String eventId) throws PortalException
PortalException
public List<? extends Serializable> getValues(SessionConfig sessionConfig, IMonitorField field, ITransaction transaction) throws Exception
IMonitorValuesProvider
null
.null
value is not the same
as returning an empty list. When returning an empty list,
it is implied that the field has an explicit null
value.
When a null
value is returned, then other value providers will be
called. If a non-null
value is returned (even an empty list),
then other value providers will not be called.
It is important to notice also that the given session config is not
the session of the user that generated the monitoring event. Instead,
it is a system user
session.
As well as session config, the given transaction is not related
to the transaction that generated the event (if any).
getValues
in interface IMonitorValuesProvider
sessionConfig
- the current session.field
- the desired field.transaction
- the current transaction.Exception
- if some error occur.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.