org.sonar.api.server.rule
Class RulesDefinition.Rule

java.lang.Object
  extended by org.sonar.api.server.rule.RulesDefinition.Rule
Enclosing interface:
RulesDefinition

@Immutable
public static class RulesDefinition.Rule
extends Object


Method Summary
 DebtRemediationFunction debtRemediationFunction()
           
 String debtSubCharacteristic()
           
 String effortToFixDescription()
           
 boolean equals(Object o)
           
 int hashCode()
           
 String htmlDescription()
           
 String internalKey()
           
 String key()
           
 String name()
           
 RulesDefinition.Param param(String key)
           
 List<RulesDefinition.Param> params()
           
 RulesDefinition.Repository repository()
           
 String severity()
           
 RuleStatus status()
           
 Set<String> tags()
           
 boolean template()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

repository

public RulesDefinition.Repository repository()

key

public String key()

name

public String name()

severity

public String severity()

htmlDescription

@CheckForNull
public String htmlDescription()

template

public boolean template()

status

public RuleStatus status()

debtSubCharacteristic

@CheckForNull
public String debtSubCharacteristic()

debtRemediationFunction

@CheckForNull
public DebtRemediationFunction debtRemediationFunction()

effortToFixDescription

@CheckForNull
public String effortToFixDescription()

param

@CheckForNull
public RulesDefinition.Param param(String key)

params

public List<RulesDefinition.Param> params()

tags

public Set<String> tags()

internalKey

@CheckForNull
public String internalKey()
See Also:
RulesDefinition.NewRule.setInternalKey(String)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 SonarSource. All Rights Reserved.