org.sonar.wsclient.issue.internal
Class DefaultIssue

java.lang.Object
  extended by org.sonar.wsclient.issue.internal.DefaultIssue
All Implemented Interfaces:
Issue

public class DefaultIssue
extends Object
implements Issue

Since:
3.6

Method Summary
 String actionPlan()
           
 String assignee()
          Login of assignee.
 String attribute(String key)
           
 Map<String,String> attributes()
           
 String author()
          SCM account
 Date closeDate()
           
 List<IssueComment> comments()
          Non-null list of comments
 Long componentId()
           
 String componentKey()
           
 Date creationDate()
           
 String debt()
           
 String key()
          Unique key
 Integer line()
           
 String message()
           
 String projectKey()
           
 String reporter()
           
 String resolution()
          The resolution type.
 String ruleKey()
           
 String severity()
           
 String status()
           
 Date updateDate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

key

public String key()
Unique key

Specified by:
key in interface Issue

componentId

public Long componentId()
Specified by:
componentId in interface Issue

componentKey

public String componentKey()
Specified by:
componentKey in interface Issue

projectKey

public String projectKey()
Specified by:
projectKey in interface Issue

ruleKey

public String ruleKey()
Specified by:
ruleKey in interface Issue

severity

public String severity()
Specified by:
severity in interface Issue

message

@CheckForNull
public String message()
Specified by:
message in interface Issue

line

@CheckForNull
public Integer line()
Specified by:
line in interface Issue

debt

@CheckForNull
public String debt()
Specified by:
debt in interface Issue

status

public String status()
Specified by:
status in interface Issue

resolution

@CheckForNull
public String resolution()
The resolution type. Null if the issue is not resolved.

Specified by:
resolution in interface Issue

reporter

@CheckForNull
public String reporter()
Specified by:
reporter in interface Issue

assignee

@CheckForNull
public String assignee()
Login of assignee. Null if issue is not assigned.

Specified by:
assignee in interface Issue

author

@CheckForNull
public String author()
SCM account

Specified by:
author in interface Issue

actionPlan

@CheckForNull
public String actionPlan()
Specified by:
actionPlan in interface Issue

creationDate

public Date creationDate()
Specified by:
creationDate in interface Issue

updateDate

public Date updateDate()
Specified by:
updateDate in interface Issue

closeDate

@CheckForNull
public Date closeDate()
Specified by:
closeDate in interface Issue

attribute

@CheckForNull
public String attribute(String key)
Specified by:
attribute in interface Issue

attributes

public Map<String,String> attributes()
Specified by:
attributes in interface Issue

comments

public List<IssueComment> comments()
Non-null list of comments

Specified by:
comments in interface Issue


Copyright © 2009–2015 SonarSource. All rights reserved.