|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Issue
Field Summary | |
---|---|
static int |
MESSAGE_MAX_SIZE
Maximum number of characters in the message. |
static String |
RESOLUTION_FALSE_POSITIVE
Resolution when issue is flagged as false positive. |
static String |
RESOLUTION_FIXED
|
static String |
RESOLUTION_REMOVED
Resolution when rule has been uninstalled or disabled in the Quality profile. |
static List<String> |
RESOLUTIONS
|
static String |
STATUS_CLOSED
|
static String |
STATUS_CONFIRMED
|
static String |
STATUS_OPEN
Default status when creating an issue. |
static String |
STATUS_REOPENED
|
static String |
STATUS_RESOLVED
|
Method Summary | |
---|---|
String |
actionPlanKey()
|
String |
assignee()
Login of the user who is assigned to this issue. |
String |
attribute(String key)
|
Map<String,String> |
attributes()
|
String |
authorLogin()
Login of the SCM account that introduced this issue. |
Date |
closeDate()
Date when status was set to STATUS_CLOSED , else null. |
List<IssueComment> |
comments()
Non-null list of comments, ordered by chronological order. |
String |
componentKey()
Components are modules ("my_project"), directories ("my_project:my/dir") or files ("my_project:my/file.c"). |
Date |
creationDate()
|
Double |
effortToFix()
Arbitrary distance to threshold for resolving the issue. |
boolean |
isNew()
During a scan return if the current issue is a new one. |
String |
key()
Unique generated key. |
Integer |
line()
Optional line number. |
String |
message()
|
String |
reporter()
Login of the user who reported this issue. |
String |
resolution()
The type of resolution, or null if the issue is not resolved. |
RuleKey |
ruleKey()
|
String |
severity()
See constants in Severity . |
String |
status()
See constant values in Issue . |
Date |
updateDate()
|
Field Detail |
---|
static final int MESSAGE_MAX_SIZE
static final String STATUS_OPEN
static final String STATUS_CONFIRMED
static final String STATUS_REOPENED
static final String STATUS_RESOLVED
static final String STATUS_CLOSED
static final String RESOLUTION_FIXED
static final String RESOLUTION_FALSE_POSITIVE
static final String RESOLUTION_REMOVED
static final List<String> RESOLUTIONS
Method Detail |
---|
String key()
String componentKey()
RuleKey ruleKey()
String severity()
Severity
.
@CheckForNull String message()
@CheckForNull Integer line()
@CheckForNull Double effortToFix()
String status()
Issue
.
@CheckForNull String resolution()
Issue
.
@CheckForNull String reporter()
@CheckForNull String assignee()
Date creationDate()
Date updateDate()
@CheckForNull Date closeDate()
STATUS_CLOSED
, else null.
@CheckForNull String attribute(String key)
Map<String,String> attributes()
@CheckForNull String authorLogin()
@CheckForNull String actionPlanKey()
List<IssueComment> comments()
BatchExtension
).
boolean isNew()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |