Class Flow

    • Constructor Detail

      • Flow

        public Flow​(Collection<FilterByEventAttributeNode> triggers,
                    FlowNode firstNode,
                    boolean isActive)
        Creates a new flow instance.
        Parameters:
        triggers - the triggers.
        firstNode - the first node.
        Since:
        12.0.0
    • Method Detail

      • validate

        public void validate()
                      throws PortalException
        Validates this flow.
        Throws:
        PortalException - if the validation detects any problem.
        Since:
        12.0.0
      • getFirstNode

        public FlowNode getFirstNode()
        Returns the first node of the flow.
        Returns:
        the first node of the flow.
        Since:
        12.0.0
      • getAllNodes

        public Map<String,​FlowNode> getAllNodes()
        Returns all nodes of this flow.
        Returns:
        all nodes of this flow.
        Since:
        12.2.0
      • isActive

        public boolean isActive()
        Returns whether this flow is active.
        Returns:
        whether this flow is active.
        Since:
        12.0.0
      • init

        protected void init​(FlowEntry flowEntry)
        Initializes the flow with the given flow entry.
        Parameters:
        flowEntry - the flow entry.
        Since:
        12.1.0