Class RuleFeedbackMessage

java.lang.Object
com.ptc.core.businessRules.feedback.RuleFeedbackMessage
All Implemented Interfaces:
FeedbackMsg, Serializable

public class RuleFeedbackMessage extends Object implements FeedbackMsg
This class holds a feedback message for a business rule. It can be configured to show business specific feedback messages in the UI.

Supported API: true
Extendable: false
See Also:
  • Constructor Details

    • RuleFeedbackMessage

      public RuleFeedbackMessage(WTMessage message, RuleFeedbackType ruleFeedbackType)
      Construct a FeedbackMessage with the given message and type.

      Supported API: true
  • Method Details

    • setMessage

      public void setMessage(WTMessage message)
      Sets the message attribute.

      Supported API: true
    • setRuleFeedbackType

      public void setRuleFeedbackType(RuleFeedbackType ruleFeedbackType)
      Sets the ruleValidationStatus attribute.

      Supported API: true
    • getLocalizedMessageWithType

      public String getLocalizedMessageWithType(Locale locale)
      Appends the ruleFeedbackType and the localized message to create an output that looks like: : For example: SUCCESS : The operation was successful

      Supported API: true
    • getMessage

      public WTMessage getMessage()
      Returns the message attribute

      Supported API: true