|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.database.BaseIdentifiable
org.sonar.api.rules.RulesCategory
public class RulesCategory
A class to hold rules category
| Constructor Summary | |
|---|---|
RulesCategory()
Creates an empty category |
|
RulesCategory(java.lang.String name)
Creates a RuleCategory based on the category name |
|
RulesCategory(java.lang.String name,
java.lang.String description)
Creates a category based on the category name and description |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
int |
hashCode()
|
void |
setDescription(java.lang.String description)
Sets the cay description |
void |
setName(java.lang.String name)
Sets the category name |
IsoCategory |
toIsoCategory()
|
java.lang.String |
toString()
|
| Methods inherited from class org.sonar.api.database.BaseIdentifiable |
|---|
getId, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RulesCategory(java.lang.String name)
name - the category name
public RulesCategory(java.lang.String name,
java.lang.String description)
name - the category namedescription - the category descriptionpublic RulesCategory()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the descriptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic IsoCategory toIsoCategory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||