Class ProcessingMessage

java.lang.Object
church.i18n.processing.message.ProcessingMessage
All Implemented Interfaces:
Serializable

public class ProcessingMessage extends Object implements Serializable
A generic definition of a processing message that carries information processing. A typical usage is during a processing error; however it's not bounded only to this type.
See Also:
  • Constructor Details

    • ProcessingMessage

      public ProcessingMessage(@NotNull @NotNull String code, @Nullable @Nullable Object... params)
      Constructor of a processing message
      Parameters:
      code - The code reference in the localization property file.
      params - Parameters that needs to be provided to properly format the message with all. parameters.
    • ProcessingMessage

      public ProcessingMessage(@NotNull @NotNull I18nMessage message)
      The constructor with the message. The message is required. As a MessageType the value of DefaultMessageType.DEFAULT is used.
      Parameters:
      message - Raw response message that is not formatted yet.
    • ProcessingMessage

      public ProcessingMessage(@NotNull @NotNull I18nMessage message, @Nullable @Nullable URI helpUri, @NotNull @NotNull MessageType messageType, @NotNull @NotNull List<ContextInfo> contextInfo, @Nullable @Nullable SecurityLevel securityLevel)
  • Method Details