Class FlowContext
- java.lang.Object
-
- lumis.portal.analytics.automationflow.FlowContext
-
- All Implemented Interfaces:
java.lang.Cloneable
public class FlowContext extends java.lang.Object implements java.lang.Cloneable
A flow context.- Since:
- 12.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description FlowContext(EventContext eventContext)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FlowContext
clone()
EventContext
geEventContext()
Returns the event context.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(EventContext eventContext)
Creates a new instance.- Parameters:
eventContext
- the event context- Since:
- 17.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
-
geEventContext
public EventContext geEventContext()
Returns the event context.- Returns:
- the event context
- Since:
- 17.0.0
-
-