Class RuleValidationStatus
java.lang.Object
wt.fc.EnumeratedType
com.ptc.core.businessRules.validation.RuleValidationStatus
- All Implemented Interfaces:
ValidationStatus,Serializable,Comparable,EnumeratedType,LocalizableMetadata,LocalizableMessage,Message
An
Supported API: true
Extendable: false
EnumeratedType to indicate the status of evaluating a
business rule for a object.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuleValidationStatusStatus to indicate that a business rule has failed and should not continue processing.static final RuleValidationStatusStatus to indicate that a business rule has passed successfully.Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleValidationStatustoRuleValidationStatus(String internalValue) Returns the RuleValidationStatus instance for the given internal value.Methods inherited from class wt.fc.EnumeratedType
equals, getDisplay, getLocalizedMessage, getOrder, getSelectableValueSet, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
-
Field Details
-
SUCCESS
Status to indicate that a business rule has passed successfully.
Supported API: true -
FAILURE
Status to indicate that a business rule has failed and should not continue processing.
Supported API: true
-
-
Method Details
-
toRuleValidationStatus
Returns the RuleValidationStatus instance for the given internal value.
Supported API: true- Parameters:
internalValue- The internal value for a valid instance of RuleValidationStatus.- Returns:
- RuleValidationStatus
-