|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.wsclient.services.Model
org.sonar.wsclient.services.Violation
@Deprecated public class Violation
| Constructor Summary | |
|---|---|
Violation()
Deprecated. |
|
| Method Summary | |
|---|---|
Date |
getCreatedAt()
Deprecated. |
Integer |
getLine()
Deprecated. |
String |
getMessage()
Deprecated. |
String |
getPriority()
Deprecated. since 2.5 use getSeverity() instead. See http://jira.codehaus.org/browse/SONAR-1829 |
String |
getResourceKey()
Deprecated. |
String |
getResourceName()
Deprecated. |
String |
getResourceQualifier()
Deprecated. |
String |
getRuleKey()
Deprecated. |
String |
getRuleName()
Deprecated. |
String |
getSeverity()
Deprecated. |
boolean |
hasLine()
Deprecated. |
boolean |
isCreatedAfter(Date date)
Deprecated. |
boolean |
isSwitchedOff()
Deprecated. |
Violation |
setCreatedAt(Date createdAt)
Deprecated. |
void |
setLine(Integer line)
Deprecated. |
void |
setMessage(String message)
Deprecated. |
void |
setPriority(String priority)
Deprecated. since 2.5 use setSeverity(String) instead. See http://jira.codehaus.org/browse/SONAR-1829 |
void |
setResourceKey(String resourceKey)
Deprecated. |
Violation |
setResourceName(String resourceName)
Deprecated. |
Violation |
setResourceQualifier(String resourceQualifier)
Deprecated. |
Violation |
setRuleKey(String s)
Deprecated. |
Violation |
setRuleName(String ruleName)
Deprecated. |
void |
setSeverity(String severity)
Deprecated. |
Violation |
setSwitchedOff(Boolean b)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Violation()
| Method Detail |
|---|
@CheckForNull public String getMessage()
public void setMessage(@Nullable
String message)
@CheckForNull public String getSeverity()
public void setSeverity(@Nullable
String severity)
@Deprecated public String getPriority()
getSeverity() instead. See http://jira.codehaus.org/browse/SONAR-1829
@Deprecated public void setPriority(String priority)
setSeverity(String) instead. See http://jira.codehaus.org/browse/SONAR-1829
@CheckForNull public Integer getLine()
null if violation doesn't belong to concrete linehasLine()
public void setLine(@Nullable
Integer line)
public boolean hasLine()
true if violation belongs to concrete line- Since:
- 2.8
@Nullable public String getResourceKey()
public void setResourceKey(@Nullable
String resourceKey)
@CheckForNull public String getRuleKey()
public Violation setRuleKey(@Nullable
String s)
@CheckForNull public String getRuleName()
public Violation setRuleName(@Nullable
String ruleName)
@CheckForNull public String getResourceName()
public Violation setResourceName(@Nullable
String resourceName)
@CheckForNull public String getResourceQualifier()
public Violation setResourceQualifier(@Nullable
String resourceQualifier)
@CheckForNull public Date getCreatedAt()
public Violation setCreatedAt(@Nullable
Date createdAt)
public boolean isCreatedAfter(Date date)
public Violation setSwitchedOff(@Nullable
Boolean b)
@Nullable public boolean isSwitchedOff()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||