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.
|
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()
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.