java.lang.Object | |
↳ | com.atlassian.jira.issue.fields.util.MessagedResult |
This class wraps a boolean result and allows the result creator to specify a string message about the result and allows a false result to be classified as Normal, a Warning, or a Fatal error.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FATAL | ||||||||||
int | NORMAL | ||||||||||
int | WARNING |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a message result with a null message whose state is normal.
| |||||||||||
Constructs a message result whose state is normal
| |||||||||||
Used to construct a messaged result.
| |||||||||||
Use this to specify the state of the html message.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a message result with a null message whose state is normal.
result | was the result of the operation |
---|
Constructs a message result whose state is normal
result | was the result of the operation |
---|---|
message | the message about the state and the result |
Used to construct a messaged result.
result | was the result of the operation |
---|---|
message | the message about the state and the result |
state | can be NORMAL, WARNING or FATAL if result is false, otherwise this is ignored |
Use this to specify the state of the html message. Error indicates that the operation can not proceed, Warning inidicates that the message will be displayed to the user but that the operation can proceed, and Normal means that everything is ok.
state | the state of the display html. |
---|