Package church.i18n.processing.message
Interface ProcessingMessageBuilderMethods<T extends ProcessingMessageBuilderMethods<T>>
- All Known Subinterfaces:
ProcessingExceptionBuilder,ProcessingExceptionIntermediate<T>,ProcessingMessageBuilder<T>
- All Known Implementing Classes:
ProcessingException,ProcessingExceptionNoopBuilder,ProcessingExceptionOptionalBuilder,ProcessingMessageAbstractBuilder,ProcessingMessageDefaultBuilder,ProcessingMessageNoopBuilder,ProcessingMessageOptionalBuilder
public interface ProcessingMessageBuilderMethods<T extends ProcessingMessageBuilderMethods<T>>
-
Method Summary
Modifier and TypeMethodDescriptionaddContextInfo(@Nullable ContextInfo... contextInfo) Add contextual information to the message.addContextInfo(@Nullable List<ContextInfo> contextInfo) Add additional contextual information bounded to message.withHelpUri(@NotNull String helpUri) Help URI associated with this message that may help receiver to find more information about the problem, better understand it and resolve it quickly.withHelpUri(@Nullable URI helpUri) Help URI associated with this message that may help receiver to find more information about the problem, better understand it and resolve it quickly.withMessageType(@NotNull MessageType messageType) Type of message, such as severity or message status.withSecurityLevel(@Nullable SecurityLevel securityLevel) Specify security level of information in message.
-
Method Details
-
addContextInfo
Add additional contextual information bounded to message. It appends this contextual information to all previously added contextual information.- Parameters:
contextInfo- Contextual information you want to provide together with the message.- Returns:
- An instance of an
ProcessingMessageBuilderMethodswith appended contextual information.
-
addContextInfo
Add contextual information to the message.- Parameters:
contextInfo- Additional contextual information appended to message.- Returns:
- An instance of an
ProcessingMessageBuilderMethodswith appended contextual information.
-
withHelpUri
Help URI associated with this message that may help receiver to find more information about the problem, better understand it and resolve it quickly. It can be reference to the documentation, KB or other article describing problem.- Parameters:
helpUri- Resource identifier.- Returns:
- An instance of an
ProcessingMessageBuilderMethodswith appended contextual information.
-
withHelpUri
Help URI associated with this message that may help receiver to find more information about the problem, better understand it and resolve it quickly. It can be reference to the documentation, KB or other article describing problem.- Parameters:
helpUri- Resource identifier.- Returns:
- An instance of an
ProcessingMessageBuilderMethodswith appended contextual information.
-
withSecurityLevel
Specify security level of information in message.- Parameters:
securityLevel- Security level of information in message.- Returns:
- An instance of an
ProcessingMessageBuilderMethodswith appended contextual information.
-
withMessageType
Type of message, such as severity or message status. For more information seeMessageStatusorMessageSeverity.- Parameters:
messageType- The type of this message.- Returns:
- An instance of an
ProcessingMessageBuilderMethodswith appended contextual information.
-