|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.issue.internal.DefaultIssue
public class DefaultIssue
PLUGINS MUST NOT BE USED THIS CLASS, EXCEPT FOR UNIT TESTING.
| Field Summary |
|---|
| Fields inherited from interface org.sonar.api.issue.Issue |
|---|
MESSAGE_MAX_SIZE, RESOLUTION_FALSE_POSITIVE, RESOLUTION_FIXED, RESOLUTION_REMOVED, RESOLUTIONS, STATUS_CLOSED, STATUS_CONFIRMED, STATUS_OPEN, STATUS_REOPENED, STATUS_RESOLVED, STATUSES |
| Constructor Summary | |
|---|---|
DefaultIssue()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultIssue()
| Method Detail |
|---|
public String key()
Issue
key in interface Issuepublic DefaultIssue setKey(String key)
public String componentKey()
Issue
componentKey in interface Issuepublic DefaultIssue setComponentKey(String s)
@CheckForNull public Long componentId()
public DefaultIssue setComponentId(@Nullable
Long s)
@CheckForNull public String projectKey()
public DefaultIssue setProjectKey(@Nullable
String projectKey)
public RuleKey ruleKey()
ruleKey in interface Issuepublic DefaultIssue setRuleKey(RuleKey k)
public String severity()
IssueSeverity.
severity in interface Issue
public DefaultIssue setSeverity(@Nullable
String s)
public boolean manualSeverity()
public DefaultIssue setManualSeverity(boolean b)
@CheckForNull public String message()
message in interface Issue
public DefaultIssue setMessage(@Nullable
String s)
@CheckForNull public Integer line()
Issue
line in interface Issue
public DefaultIssue setLine(@Nullable
Integer l)
@CheckForNull public Double effortToFix()
Issue
effortToFix in interface Issue
public DefaultIssue setEffortToFix(@Nullable
Double d)
@CheckForNull public Duration debt()
@CheckForNull public Long debtInMinutes()
public DefaultIssue setDebt(@Nullable
Duration t)
public String status()
IssueIssue.
status in interface Issuepublic DefaultIssue setStatus(String s)
@CheckForNull public String resolution()
IssueIssue.
resolution in interface Issue
public DefaultIssue setResolution(@Nullable
String s)
@CheckForNull public String reporter()
Issue
reporter in interface Issue
public DefaultIssue setReporter(@Nullable
String s)
@CheckForNull public String assignee()
Issue
assignee in interface Issue
public DefaultIssue setAssignee(@Nullable
String s)
public Date creationDate()
creationDate in interface Issuepublic DefaultIssue setCreationDate(Date d)
@CheckForNull public Date updateDate()
updateDate in interface Issue
public DefaultIssue setUpdateDate(@Nullable
Date d)
@CheckForNull public Date closeDate()
IssueIssue.STATUS_CLOSED, else null.
closeDate in interface Issue
public DefaultIssue setCloseDate(@Nullable
Date d)
@CheckForNull public String checksum()
public DefaultIssue setChecksum(@Nullable
String s)
public boolean isNew()
Issue
isNew in interface Issuepublic DefaultIssue setNew(boolean b)
public boolean isEndOfLife()
public DefaultIssue setEndOfLife(boolean b)
public boolean isOnDisabledRule()
public DefaultIssue setOnDisabledRule(boolean b)
public boolean isChanged()
public DefaultIssue setChanged(boolean b)
public boolean mustSendNotifications()
public DefaultIssue setSendNotifications(boolean b)
@CheckForNull public String attribute(String key)
attribute in interface Issue
public DefaultIssue setAttribute(String key,
@Nullable
String value)
public Map<String,String> attributes()
attributes in interface Issue
public DefaultIssue setAttributes(@Nullable
Map<String,String> map)
@CheckForNull public String authorLogin()
Issue
authorLogin in interface Issue
public DefaultIssue setAuthorLogin(@Nullable
String s)
@CheckForNull public String actionPlanKey()
actionPlanKey in interface Issue
public DefaultIssue setActionPlanKey(@Nullable
String actionPlanKey)
public DefaultIssue setFieldChange(IssueChangeContext context,
String field,
@Nullable
Serializable oldValue,
@Nullable
Serializable newValue)
@CheckForNull public FieldDiffs currentChange()
public DefaultIssue addChange(FieldDiffs change)
public DefaultIssue setChanges(List<FieldDiffs> changes)
public List<FieldDiffs> changes()
public DefaultIssue addComment(DefaultIssueComment comment)
public List<IssueComment> comments()
IssueBatchExtension).
comments in interface Issue@CheckForNull public Date selectedAt()
public DefaultIssue setSelectedAt(@Nullable
Date d)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||