Class UserInJourneyChoiceNode


  • public class UserInJourneyChoiceNode
    extends AbstractUserInJourneyChoiceNode
    Choice node that splits the flow depending whether the user is in a given journey.
    Since:
    12.2.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • UserInJourneyChoiceNode

        public UserInJourneyChoiceNode​(org.json.JSONObject object,
                                       FlowEntry flowEntry)
        Creates a new instance from the given JSON configuration node.
        Parameters:
        object - the JSON configuration node
        flowEntry - the flow entry
        Since:
        12.2.0
      • UserInJourneyChoiceNode

        public UserInJourneyChoiceNode​(java.lang.String id,
                                       java.lang.String name,
                                       java.lang.String journeyId,
                                       FlowNode trueNode,
                                       FlowNode falseNode)
        Creates a new instance.
        Parameters:
        id - the node identifier
        name - the node name
        journeyId - the journey identifier
        trueNode - the truthy follow-up
        falseNode - the falsy follow-up
        Since:
        12.2.0