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
-
Method Summary
Modifier and TypeMethodDescriptiongetOutcomes
(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
-
Constructor Details
-
OutcomeProvider
public OutcomeProvider()
-
-
Method Details
-
getOutcomes
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.
-