org.sonar.api.profiles
Class RulesProfile
java.lang.Object
org.sonar.api.database.BaseIdentifiable
org.sonar.api.profiles.RulesProfile
- All Implemented Interfaces:
- Cloneable
public class RulesProfile
- extends BaseIdentifiable
- implements Cloneable
SONAR_WAY_NAME
public static final String SONAR_WAY_NAME
- See Also:
- Constant Field Values
SONAR_WAY_FINDBUGS_NAME
public static final String SONAR_WAY_FINDBUGS_NAME
- See Also:
- Constant Field Values
SUN_CONVENTIONS_NAME
public static final String SUN_CONVENTIONS_NAME
- See Also:
- Constant Field Values
RulesProfile
public RulesProfile()
RulesProfile
public RulesProfile(String name,
String language)
RulesProfile
public RulesProfile(String name,
String language,
boolean defaultProfile,
boolean provided)
getName
public String getName()
setName
public void setName(String name)
getActiveRules
public List<ActiveRule> getActiveRules()
setActiveRules
public void setActiveRules(List<ActiveRule> activeRules)
getDefaultProfile
public Boolean getDefaultProfile()
setDefaultProfile
public void setDefaultProfile(Boolean defaultProfile)
getProvided
public Boolean getProvided()
setProvided
public void setProvided(Boolean provided)
getLanguage
public String getLanguage()
setLanguage
public void setLanguage(String language)
getAlerts
public List<Alert> getAlerts()
setAlerts
public void setAlerts(List<Alert> alerts)
getProjects
public List<ResourceModel> getProjects()
setProjects
public void setProjects(List<ResourceModel> projects)
getActiveRules
public List<ActiveRule> getActiveRules(RulePriority priority)
getActiveRulesByPlugin
public List<ActiveRule> getActiveRulesByPlugin(String pluginKey)
getActiveRule
public ActiveRule getActiveRule(String pluginKey,
String ruleKey)
getActiveRule
public ActiveRule getActiveRule(Rule rule)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
clone
public Object clone()
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 SonarSource SA. All Rights Reserved.