Class SingleOutcomeNode.OutcomeProvider
- java.lang.Object
-
- org.forgerock.openam.auth.node.api.SingleOutcomeNode.OutcomeProvider
-
- All Implemented Interfaces:
OutcomeProvider
,StaticOutcomeProvider
- Enclosing class:
- SingleOutcomeNode
public static final class SingleOutcomeNode.OutcomeProvider extends Object implements StaticOutcomeProvider
Provides a static single outcome for nodes with a single outcome.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.forgerock.openam.auth.node.api.OutcomeProvider
OutcomeProvider.Outcome
-
-
Constructor Summary
Constructors Constructor Description OutcomeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OutcomeProvider.Outcome>
getOutcomes(PreferredLocales locales)
Returns a ordered list of possible node outcomes with localised display names.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.forgerock.openam.auth.node.api.StaticOutcomeProvider
getOutcomes
-
-
-
-
Method Detail
-
getOutcomes
public List<OutcomeProvider.Outcome> getOutcomes(PreferredLocales locales)
Description copied from interface:StaticOutcomeProvider
Returns a ordered list of possible node outcomes with localised display names.- Specified by:
getOutcomes
in interfaceStaticOutcomeProvider
- Parameters:
locales
- The locales for the localised description.- Returns:
- A non-null list of outcomes. May be empty.
-
-