@Immutable @ExperimentalApi public final class Problem extends Object
Objects of this class contain a message displayed to the user and a severity, which affects how the problem is presented.
| Modifier and Type | Class and Description |
|---|---|
static class |
Problem.Severity
Severity of the problem.
|
| Constructor and Description |
|---|
Problem(String message,
Problem.Severity severity)
Constructs a new instance of this class.
|
Problem(String message,
Problem.Severity severity,
String quickFixHtml)
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getQuickFixHtml() |
Problem.Severity |
getSeverity() |
String |
toString() |
public Problem(String message, Problem.Severity severity)
message - message the will be displayed to the userseverity - problem severitypublic Problem(String message, Problem.Severity severity, String quickFixHtml)
message - message the will be displayed to the userseverity - problem severityquickFixHtml - optional HTML that will be displayed below the message in the UI, should provide a way to fix the problemCopyright © 2023 Atlassian. All rights reserved.