Class RuleValidationResultDTO
java.lang.Object
org.wso2.am.integration.clients.governance.api.dto.RuleValidationResultDTO
Result of the rule validation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSeverity level of the rule violation.static enumStatus of the rule validation. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanDescription of the rule.getId()UUID of the rule.Message to be displayed when the rule is violated.getName()Name of the rule.Severity level of the rule violation.Status of the rule validation.Get violatedPathinthashCode()voidsetDescription(String description) voidvoidsetMessage(String message) voidvoidvoidvoidsetViolatedPath(RuleValidationResultViolatedPathDTO violatedPath) severity(RuleValidationResultDTO.SeverityEnum severity) toString()violatedPath(RuleValidationResultViolatedPathDTO violatedPath)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_SEVERITY
- See Also:
-
SERIALIZED_NAME_VIOLATED_PATH
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
-
Constructor Details
-
RuleValidationResultDTO
public RuleValidationResultDTO()
-
-
Method Details
-
id
-
getId
UUID of the rule.- Returns:
- id
-
setId
-
name
-
getName
Name of the rule.- Returns:
- name
-
setName
-
status
-
getStatus
Status of the rule validation.- Returns:
- status
-
setStatus
-
severity
-
getSeverity
Severity level of the rule violation.- Returns:
- severity
-
setSeverity
-
violatedPath
-
getViolatedPath
Get violatedPath- Returns:
- violatedPath
-
setViolatedPath
-
message
-
getMessage
Message to be displayed when the rule is violated.- Returns:
- message
-
setMessage
-
description
-
getDescription
Description of the rule.- Returns:
- description
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-