Class: BrokenRule

bo.rules. BrokenRule

Represents the public turnout of a failed rule.

new BrokenRule(ruleName, isPreserved, propertyName, message, severity)

Creates a new broken rule instance.

Parameters:
Name Type Argument Description
ruleName string

The name of the failed rule.

isPreserved boolean

Indicates whether the broken rule of this failure is preserved when a new verification starts.

propertyName string <optional>

The name of the property the rule belongs to.

message string

Human-readable description of the reason of the failure.

severity bo.rules.RuleSeverity

The severity of the rule failure.

Throws:

Members

isPreserved :boolean

Indicates whether the broken rule is preserved when a new verification starts.

Type:
  • boolean

message :string

Human-readable description of the reason of the failure.

Type:
  • string

propertyName :string

The name of the property the failed rule belongs to.

Type:
  • string

ruleName :string

The name of the failed rule.

Type:
  • string

severity :bo.rules.RuleSeverity

The severity of the rule failure.

Type:
If you find bugs or have feature requests, please let us know.

JavaScript business objects ♦ Copyright © 2014-2016 Logikum, Ltd.
Documentation generated by JSDoc 3.2.2 on 2015. December 31. using the DocStrap template.