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 |
---|---|
Map<String,FlowNode> |
getAllNodes()
Returns all nodes of this flow.
|
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 Map<String,FlowNode> getAllNodes()
public boolean isActive()
protected void init(FlowEntry flowEntry)
flowEntry
- the flow entry.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.