org.sonar.api.rules
Class RulesCategory

java.lang.Object
  extended by org.sonar.api.database.BaseIdentifiable
      extended by org.sonar.api.rules.RulesCategory

Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007

@Deprecated
public class RulesCategory
extends BaseIdentifiable


Constructor Summary
RulesCategory()
          Deprecated. Creates an empty category
RulesCategory(String name)
          Deprecated. Creates a RuleCategory based on the category name
RulesCategory(String name, String description)
          Deprecated. Creates a category based on the category name and description
 
Method Summary
 boolean equals(Object obj)
          Deprecated.  
static RulesCategory fromIsoCategory(IsoCategory iso)
          Deprecated.  
 String getDescription()
          Deprecated.  
 String getName()
          Deprecated.  
 int hashCode()
          Deprecated.  
 void setDescription(String description)
          Deprecated. Sets the cay description
 void setName(String name)
          Deprecated. Sets the category name
 IsoCategory toIsoCategory()
          Deprecated.  
 String toString()
          Deprecated.  
 
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

RulesCategory

public RulesCategory(String name)
Deprecated. 
Creates a RuleCategory based on the category name

Parameters:
name - the category name

RulesCategory

public RulesCategory(String name,
                     String description)
Deprecated. 
Creates a category based on the category name and description

Parameters:
name - the category name
description - the category description

RulesCategory

public RulesCategory()
Deprecated. 
Creates an empty category

Method Detail

getName

public String getName()
Deprecated. 
Returns:
the category name

setName

public void setName(String name)
Deprecated. 
Sets the category name

Parameters:
name - the name

getDescription

public String getDescription()
Deprecated. 
Returns:
the category description

setDescription

public void setDescription(String description)
Deprecated. 
Sets the cay description

Parameters:
description - the description

equals

public boolean equals(Object obj)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

toIsoCategory

public IsoCategory toIsoCategory()
Deprecated. 

fromIsoCategory

public static RulesCategory fromIsoCategory(IsoCategory iso)
Deprecated. 


Copyright © 2009-2012 SonarSource. All Rights Reserved.