Class SingleOutcomeNode.OutcomeProvider

    • Constructor Detail

      • OutcomeProvider

        public OutcomeProvider()
    • Method Detail

      • getOutcomes

        public List<OutcomeProvider.Outcome> getOutcomes​(PreferredLocales locales,
                                                         JsonValue nodeAttributes)
        Description copied from interface: OutcomeProvider
        Returns a ordered list of possible node outcomes with localised display names.
        Specified by:
        getOutcomes in interface OutcomeProvider
        Parameters:
        locales - The locales for the localised description.
        nodeAttributes - Unvalidated node attributes submitted in the request.
        Returns:
        A non-null list of outcomes. May be empty.