org.sonar.api.rules
Class RuleParam

java.lang.Object
  extended by org.sonar.api.rules.RuleParam

public class RuleParam
extends Object


Constructor Summary
RuleParam()
          Deprecated. since 2.3 use the factory method Rule.setParameter()
RuleParam(Rule rule, String key, String description, String type)
          Deprecated. since 2.3 use the factory method setParameter()
 
Method Summary
 boolean equals(Object obj)
           
 String getDefaultValue()
           
 Boolean getDefaultValueAsBoolean()
           
 Integer getDefaultValueAsInteger()
           
 String getDescription()
           
 String getKey()
           
 Rule getRule()
           
 String getType()
           
 int hashCode()
           
 RuleParam setDefaultValue(String s)
           
 RuleParam setDescription(String s)
           
 RuleParam setKey(String key)
           
 RuleParam setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleParam

@Deprecated
public RuleParam()
Deprecated. since 2.3 use the factory method Rule.setParameter()


RuleParam

@Deprecated
public RuleParam(Rule rule,
                            String key,
                            String description,
                            String type)
Deprecated. since 2.3 use the factory method setParameter()

Method Detail

getRule

public Rule getRule()

getKey

public String getKey()

setKey

public RuleParam setKey(String key)

getDescription

public String getDescription()

setDescription

public RuleParam setDescription(String s)

getType

public String getType()

setType

public RuleParam setType(String type)

getDefaultValue

public String getDefaultValue()

getDefaultValueAsBoolean

public Boolean getDefaultValueAsBoolean()

getDefaultValueAsInteger

public Integer getDefaultValueAsInteger()

setDefaultValue

public RuleParam setDefaultValue(String s)

equals

public boolean equals(Object obj)
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-2011 SonarSource. All Rights Reserved.