Class PModeLegErrorHandling

java.lang.Object
com.helger.phase4.model.pmode.leg.PModeLegErrorHandling
All Implemented Interfaces:
Serializable

@NotThreadSafe @MustImplementEqualsAndHashcode public class PModeLegErrorHandling extends Object implements Serializable
Error handling - This P-Mode group concerns errors generated by the reception of the message (for either a User message or a Signal message, unless indicated otherwise) sent over leg 1 of the MEP.
Author:
Philip Helger
See Also:
  • Field Details

    • DEFAULT_REPORT_AS_RESPONSE

      public static final boolean DEFAULT_REPORT_AS_RESPONSE
      See Also:
    • DEFAULT_REPORT_PROCESS_ERROR_NOTIFY_CONSUMER

      public static final boolean DEFAULT_REPORT_PROCESS_ERROR_NOTIFY_CONSUMER
      See Also:
    • DEFAULT_REPORT_PROCESS_ERROR_NOTIFY_PRDOUCER

      public static final boolean DEFAULT_REPORT_PROCESS_ERROR_NOTIFY_PRDOUCER
      See Also:
    • DEFAULT_REPORT_DELIVERY_FAILURES_NOTIFY_PRODUCER

      public static final boolean DEFAULT_REPORT_DELIVERY_FAILURES_NOTIFY_PRODUCER
      See Also:
  • Constructor Details

    • PModeLegErrorHandling

      public PModeLegErrorHandling()
    • PModeLegErrorHandling

      public PModeLegErrorHandling(@Nullable PModeAddressList aReportSenderErrorsTo, @Nullable PModeAddressList aReportReceiverErrorsTo, @Nonnull com.helger.commons.state.ETriState eReportAsResponse, @Nonnull com.helger.commons.state.ETriState eReportProcessErrorNotifyConsumer, @Nonnull com.helger.commons.state.ETriState eReportProcessErrorNotifyProducer, @Nonnull com.helger.commons.state.ETriState eReportDeliveryFailuresNotifyProducer)
  • Method Details

    • getReportSenderErrorsTo

      @Nullable public final PModeAddressList getReportSenderErrorsTo()
    • hasReportSenderErrorsTo

      public final boolean hasReportSenderErrorsTo()
    • setReportSenderErrorsTo

      @Nonnull public final com.helger.commons.state.EChange setReportSenderErrorsTo(@Nullable PModeAddressList aReportSenderErrorsTo)
    • getReportReceiverErrorsTo

      @Nullable public final PModeAddressList getReportReceiverErrorsTo()
    • hasReportReceiverErrorsTo

      public final boolean hasReportReceiverErrorsTo()
    • setReportReceiverErrorsTo

      @Nonnull public final com.helger.commons.state.EChange setReportReceiverErrorsTo(@Nullable PModeAddressList aReportReceiverErrorsTo)
    • isReportAsResponseDefined

      public final boolean isReportAsResponseDefined()
    • isReportAsResponse

      public final boolean isReportAsResponse()
    • setReportAsResponse

      @Nonnull public final com.helger.commons.state.EChange setReportAsResponse(boolean eReportAsResponse)
    • setReportAsResponse

      @Nonnull public final com.helger.commons.state.EChange setReportAsResponse(@Nonnull com.helger.commons.state.ETriState eReportAsResponse)
    • isReportProcessErrorNotifyConsumerDefined

      public final boolean isReportProcessErrorNotifyConsumerDefined()
    • isReportProcessErrorNotifyConsumer

      public final boolean isReportProcessErrorNotifyConsumer()
    • setReportProcessErrorNotifyConsumer

      @Nonnull public final com.helger.commons.state.EChange setReportProcessErrorNotifyConsumer(boolean eReportProcessErrorNotifyConsumer)
    • setReportProcessErrorNotifyConsumer

      @Nonnull public final com.helger.commons.state.EChange setReportProcessErrorNotifyConsumer(@Nonnull com.helger.commons.state.ETriState eReportProcessErrorNotifyConsumer)
    • isReportProcessErrorNotifyProducerDefined

      public final boolean isReportProcessErrorNotifyProducerDefined()
    • isReportProcessErrorNotifyProducer

      public final boolean isReportProcessErrorNotifyProducer()
    • setReportProcessErrorNotifyProducer

      @Nonnull public final com.helger.commons.state.EChange setReportProcessErrorNotifyProducer(boolean eReportProcessErrorNotifyProducer)
    • setReportProcessErrorNotifyProducer

      @Nonnull public final com.helger.commons.state.EChange setReportProcessErrorNotifyProducer(@Nonnull com.helger.commons.state.ETriState eReportProcessErrorNotifyProducer)
    • isReportDeliveryFailuresNotifyProducerDefined

      public final boolean isReportDeliveryFailuresNotifyProducerDefined()
    • isReportDeliveryFailuresNotifyProducer

      public final boolean isReportDeliveryFailuresNotifyProducer()
    • setReportDeliveryFailuresNotifyProducer

      @Nonnull public final com.helger.commons.state.EChange setReportDeliveryFailuresNotifyProducer(boolean eReportDeliveryFailuresNotifyProducer)
    • setReportDeliveryFailuresNotifyProducer

      @Nonnull public final com.helger.commons.state.EChange setReportDeliveryFailuresNotifyProducer(@Nonnull com.helger.commons.state.ETriState eReportDeliveryFailuresNotifyProducer)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createUndefined

      @Nonnull public static PModeLegErrorHandling createUndefined()
      Returns:
      A new PModeLegErrorHandling that is totally undefined. Never null.