public final class ComplianceMessage
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ComplianceMessage.Severity |
Constructor and Description |
---|
ComplianceMessage(ComplianceMessage.Severity severity,
java.lang.String message,
java.lang.String specObjectId)
Constructor for a
ComplianceMessage |
ComplianceMessage(java.lang.String message)
Constructor for a
ComplianceMessage which defaults
the specObjectId property to null and severity to ComplianceMessage.Severity.Error |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
ComplianceMessage.Severity |
getSeverity() |
java.lang.String |
getSpecObjectId() |
java.lang.String |
toString() |
public ComplianceMessage(java.lang.String message)
ComplianceMessage
which defaults
the specObjectId property to null and severity to ComplianceMessage.Severity.Error
message
- the String
value of the text for the message, not nullpublic ComplianceMessage(ComplianceMessage.Severity severity, java.lang.String message, java.lang.String specObjectId)
ComplianceMessage
message
- the String
value of the text for the message, not nullseverity
- the ComplianceMessage.Severity
of the message, not nullspecObjectId
- the identifier of the SpecObject
associated with this message, can be nullpublic ComplianceMessage.Severity getSeverity()
ComplianceMessage.Severity
of this messagepublic java.lang.String getMessage()
public java.lang.String getSpecObjectId()
SpecObject
identifier for this messagepublic java.lang.String toString()
toString
in class java.lang.Object