Class RuleFeedbackMessage
java.lang.Object
com.ptc.core.businessRules.feedback.RuleFeedbackMessage
- All Implemented Interfaces:
FeedbackMsg,Serializable
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
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuleFeedbackMessage(WTMessage message, RuleFeedbackType ruleFeedbackType) Construct a FeedbackMessage with the given message and type. -
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedMessageWithType(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: trueReturns the message attribute
Supported API: truevoidsetMessage(WTMessage message) Sets the message attribute.voidsetRuleFeedbackType(RuleFeedbackType ruleFeedbackType) Sets the ruleValidationStatus attribute.
-
Constructor Details
-
RuleFeedbackMessage
Construct a FeedbackMessage with the given message and type.
Supported API: true
-
-
Method Details
-
setMessage
Sets the message attribute.
Supported API: true -
setRuleFeedbackType
Sets the ruleValidationStatus attribute.
Supported API: true -
getLocalizedMessageWithType
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
Returns the message attribute
Supported API: true
-