Uses of Class
org.forgerock.i18n.LocalizableMessage
Package
Description
A i18n framework for embedding localizable messages in applications.
This package provides an alternative localization mechanism to
org.slf4j.cal10n
.Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for core LDAP requests/responses.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF based
KeyStore
service.-
Uses of LocalizableMessage in org.forgerock.i18n
Modifier and TypeFieldDescriptionstatic final LocalizableMessage
LocalizableMessage.EMPTY
Represents an empty message string.Modifier and TypeMethodDescriptionLocalizableMessageDescriptor.Arg0.get()
Creates a localizable message.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.LocalizableMessageDescriptor.Arg9.get
(T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.Creates a message with arguments that will replace format specifiers in the associated format string when the message is rendered to string representation.LocalizableException.getMessageObject()
Returns the localizable message that explains the problem that occurred.final LocalizableMessage
LocalizedIllegalArgumentException.getMessageObject()
static LocalizableMessage
LocalizableMessage.raw
(CharSequence string) Creates an non-localizable message whoseString
representation is always the same regardless of the requested locale.static LocalizableMessage
LocalizableMessage.raw
(CharSequence formatString, Object... args) Creates an non-localizable message whoseString
representation is always the same regardless of the requested locale.LocalizableMessageBuilder.toMessage()
Returns theLocalizableMessage
representation of this message builder.static LocalizableMessage
Creates a new message whose content is theString
representation of the providedObject
.Modifier and TypeMethodDescriptionLocalizableMessageBuilder.append
(LocalizableMessage message) Appends the provided message to this message builder.int
LocalizableMessage.compareTo
(LocalizableMessage message) Compares this message with the specified message for order in the default locale.ModifierConstructorDescriptionCreates a new message builder whose content is initially equal to the provided message.Creates a new localized illegal argument exception with the provided message.LocalizedIllegalArgumentException
(LocalizableMessage message, Throwable cause) Creates a new localized illegal argument exception with the provided message and cause. -
Uses of LocalizableMessage in org.forgerock.i18n.slf4j
Modifier and TypeMethodDescriptionLocalizedMarker.getMessage()
Returns the message embedded into this marker.Modifier and TypeMethodDescriptionvoid
LocalizedLogger.error
(LocalizableMessage m) Logs an error message.void
LocalizedLogger.info
(LocalizableMessage m) Logs a message at INFO level.void
LocalizedLogger.note
(LocalizableMessage m) Logs a message at NOTICE level.void
LocalizedLogger.warn
(LocalizableMessage m) Logs a warning message.ModifierConstructorDescriptionLocalizedMarker
(LocalizableMessage message) Create a marker with provided localizable message. -
Uses of LocalizableMessage in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionDecodeException.getMessageObject()
LdapException.getMessageObject()
ResultCode.getName()
Returns the short human-readable name of this result code.Modifier and TypeMethodDescriptionstatic DecodeException
DecodeException.error
(LocalizableMessage message) Creates a new non-fatal decode exception with the provided message.static DecodeException
DecodeException.error
(LocalizableMessage message, Throwable cause) Creates a new non-fatal decode exception with the provided message and root cause.static DecodeException
DecodeException.fatalError
(LocalizableMessage message) Creates a new fatal decode exception with the provided message.static DecodeException
DecodeException.fatalError
(LocalizableMessage message, Throwable cause) Creates a new fatal decode exception with the provided message and root cause.void
CancelRequestListener.handleCancelRequest
(LocalizableMessage cancellationReason) Invoked when a cancellation request has been received and processing of the request should be aborted if possible.static LdapClient
LdapClients.newNullLdapClient
(String name, LocalizableMessage connectErrorMessage) Returns an LDAP client which always throwsResultCode.CLIENT_SIDE_CONNECT_ERROR
using the provided error message.Modifier and TypeMethodDescriptionstatic boolean
Entries.conformsToSchema
(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages) Returnstrue
if the provided entry is valid according to the default schema and schema validation policy.static boolean
Entries.conformsToSchema
(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages, Schema schema) Returnstrue
if the provided entry is valid according to the specified schema and schema validation policy. -
Uses of LocalizableMessage in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionBindResult.getDiagnosticMessage()
CompareResult.getDiagnosticMessage()
ExtendedResult.getDiagnosticMessage()
GenericExtendedResult.getDiagnosticMessage()
PasswordModifyExtendedResult.getDiagnosticMessage()
Result.getDiagnosticMessage()
Returns the diagnostic message associated with this result.WhoAmIExtendedResult.getDiagnosticMessage()
-
Uses of LocalizableMessage in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionSchema.getWarnings()
Returns an unmodifiable collection containing all the warnings that were detected when this schema was constructed.Modifier and TypeMethodDescriptionboolean
Schema.validateEntry
(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages) Returnstrue
if the provided entry is valid according to this schema and the specified schema validation policy.ModifierConstructorDescriptionCreates a new conflicting schema element exception with the provided message.Creates a new unknown schema element exception with the provided message. -
Uses of LocalizableMessage in org.forgerock.opendj.ldif
Modifier and TypeMethodDescriptionEntryGenerator.getWarnings()
Returns the warnings generated by the parsing of template file.Modifier and TypeMethodDescriptionvoid
RejectedChangeRecordListener.handleRejectedChangeRecord
(AddRequest change, LocalizableMessage reason) Invoked when an attempt to add an entry was rejected.void
RejectedChangeRecordListener.handleRejectedChangeRecord
(DeleteRequest change, LocalizableMessage reason) Invoked when an attempt to delete an entry was rejected.void
RejectedChangeRecordListener.handleRejectedChangeRecord
(ModifyDnRequest change, LocalizableMessage reason) Invoked when an attempt to rename an entry was rejected.void
RejectedChangeRecordListener.handleRejectedChangeRecord
(ModifyRequest change, LocalizableMessage reason) Invoked when an attempt to modify an entry was rejected.void
RejectedLdifListener.handleSkippedRecord
(long lineNumber, List<String> lines, LocalizableMessage reason) Invoked when a record was skipped because it did not match filter criteria defined by the reader. -
Uses of LocalizableMessage in org.forgerock.opendj.security
Modifier and TypeMethodDescriptionstatic DeploymentId
DeploymentId.valueOf
(String deploymentId, char[] password, Consumer<LocalizableMessage> warningHandler) Parses the provided deployment ID and creates the associated root CA key-pair.