public class Flow extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Flow(Collection<FilterByEventAttributeNode> triggers,
FlowNode firstNode,
boolean isActive)
Creates a new flow instance.
|
Modifier and Type | Method and Description |
---|---|
FlowNode |
getFirstNode()
Returns the first node of the flow.
|
Collection<FilterByEventAttributeNode> |
getTriggers()
Returns the triggers.
|
protected void |
init(FlowEntry flowEntry)
Initializes the flow with the given flow entry.
|
boolean |
isActive()
Returns whether this flow is active.
|
void |
validate()
Validates this flow.
|
public Flow(Collection<FilterByEventAttributeNode> triggers, FlowNode firstNode, boolean isActive)
triggers
- the triggers.firstNode
- the first node.public void validate() throws PortalException
PortalException
- if the validation detects any problem.public Collection<FilterByEventAttributeNode> getTriggers()
public FlowNode getFirstNode()
public boolean isActive()
protected void init(FlowEntry flowEntry)
flowEntry
- the flow entry.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.