java.lang.Object | |
↳ | com.atlassian.validation.Failure |
A Validator.Result
that represents epic validation failure.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates failure from a given text message, encoding the text message as a whole into html for the html message.
| |||||||||||
Creates failure from a text message and an html equivalent message.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
If valid returns the value in string form.
| |||||||||||
If validation failed, the reason is found here in plain text.
| |||||||||||
If validation failed, the reason is found here in html.
| |||||||||||
Whether the validation succeeded.
|
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||
From interface
com.atlassian.validation.Validator.Result
|
Creates failure from a given text message, encoding the text message as a whole into html for the html message.
message | the failure message in text. |
---|
Creates failure from a text message and an html equivalent message.
textError | the error to be displayed in plain text output (such as logs). |
---|---|
htmlError | the error to be displayed in a browser or html email. |
If validation failed, the reason is found here in plain text.
If validation failed, the reason is found here in html.
Whether the validation succeeded.