Package org.keycloak.models.utils
Class FormMessage
java.lang.Object
org.keycloak.models.utils.FormMessage
Message (eg. error) to be shown in form.
- Author:
- Vlastimil Elias (velias at redhat dot com)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFormMessage
(String message, Object... parameters) FormMessage
(String field, String message) Create message without parameters.FormMessage
(String field, String message, Object... parameters) Create message. -
Method Summary
-
Field Details
-
GLOBAL
Value used forfield
if message is global (not tied to any specific form field)- See Also:
-
-
Constructor Details
-
FormMessage
public FormMessage() -
FormMessage
Create message.- Parameters:
field
- this message is for.GLOBAL
is used if nullmessage
- key for the messageparameters
- to be formatted into message
-
FormMessage
-
FormMessage
Create message without parameters.- Parameters:
field
- this message is for.GLOBAL
is used if nullmessage
- key for the message
-
-
Method Details