Class FlowContext
- java.lang.Object
-
- lumis.portal.analytics.automationflow.FlowContext
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class FlowContext extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable
A flow context.- Since:
- 12.0.0
- Version:
- $Revision: 24868 $ $Date: 2022-02-25 18:16:46 -0300 (Fri, 25 Feb 2022) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowContext(IMonitorEvent event, java.util.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()
java.util.Date
getDate()
Returns the event date.java.util.Map<java.lang.String,java.lang.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, java.util.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 java.util.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 java.util.Map<java.lang.String,java.lang.Object> getEventAttributes()
Returns the eventAttributes.- Returns:
- the eventAttributes
- Since:
- 12.0.0
-
clone
protected FlowContext clone()
- Overrides:
clone
in classjava.lang.Object
-
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
-
-