Class SuspendedTextOutputCallback.Factory
java.lang.Object
org.forgerock.openam.auth.node.api.SuspendedTextOutputCallback.Factory
- Enclosing class:
- SuspendedTextOutputCallback
Factory class for creating
SuspendedTextOutputCallback instances.-
Method Summary
Modifier and TypeMethodDescriptionCreates a newSuspendedTextOutputCallbackinstance with the given message type and message.Creates a newSuspendedTextOutputCallbackinstance along with an error based message.Creates a newSuspendedTextOutputCallbackinstance along with an information based message.Creates a newSuspendedTextOutputCallbackinstance along with a warning based message.
-
Method Details
-
create
Creates a newSuspendedTextOutputCallbackinstance with the given message type and message.- Parameters:
messageType- the message type (INFORMATION,WARNINGorERROR)message- the message to be displayed- Returns:
- new
SuspendedTextOutputCallbackinstance
-
info
Creates a newSuspendedTextOutputCallbackinstance along with an information based message.- Parameters:
message- the information based message- Returns:
- new
SuspendedTextOutputCallbackinstance
-
warn
Creates a newSuspendedTextOutputCallbackinstance along with a warning based message.- Parameters:
message- the warning based message- Returns:
- new
SuspendedTextOutputCallbackinstance
-
error
Creates a newSuspendedTextOutputCallbackinstance along with an error based message.- Parameters:
message- the error based message- Returns:
- new
SuspendedTextOutputCallbackinstance
-