Class FlowContext
- java.lang.Object
-
- lumis.portal.analytics.automationflow.FlowContext
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class FlowContext extends Object implements Serializable, Cloneable
A flow context.- Since:
- 12.0.0
- Version:
- $Revision: 24648 $ $Date: 2021-08-10 16:11:02 -0300 (Tue, 10 Aug 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowContext(IMonitorEvent event, Deque<IMonitorValuesProvider> monitoringValues, Document document)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FlowContext
clone()
Date
getDate()
Returns the event date.Map<String,Object>
getEventAttributes()
Returns the eventAttributes.FlowEntry
getFlow()
Returns the flow.MonitorUser
getUser()
Returns the user.void
setFlow(FlowEntry flow)
Sets the flow.
-
-
-
Constructor Detail
-
FlowContext
public FlowContext(IMonitorEvent event, Deque<IMonitorValuesProvider> monitoringValues, Document document) throws PortalException
Creates a new instance.- Parameters:
event
- the event being executed.monitoringValues
- the event data.document
- the event document.- Throws:
PortalException
- Since:
- 12.0.0
-
-
Method Detail
-
getDate
public Date getDate() throws PortalException
Returns the event date.- Returns:
- the event date.
- Throws:
PortalException
- Since:
- 12.0.0
-
getUser
public MonitorUser getUser() throws PortalException
Returns the user.- Returns:
- the user
- Throws:
PortalException
- Since:
- 12.0.0
-
getEventAttributes
public Map<String,Object> getEventAttributes()
Returns the eventAttributes.- Returns:
- the eventAttributes
- Since:
- 12.0.0
-
clone
protected FlowContext clone()
-
getFlow
public FlowEntry getFlow()
Returns the flow.- Returns:
- the flow
- Since:
- 12.0.0
-
setFlow
public void setFlow(FlowEntry flow)
Sets the flow.- Parameters:
flow
- the flow value to set.- Since:
- 12.0.0
-
-