org.sonar.api.checks.templates
Class CheckTemplate

java.lang.Object
  extended by org.sonar.api.checks.templates.CheckTemplate
Direct Known Subclasses:
BundleCheckTemplate, DefaultCheckTemplate

Deprecated. since 2.3

@Deprecated
public abstract class CheckTemplate
extends Object

Since:
2.1 (experimental)

Field Summary
protected  String configKey
          Deprecated.  
protected  IsoCategory isoCategory
          Deprecated.  
protected  String key
          Deprecated.  
protected  Priority priority
          Deprecated.  
protected  List<CheckTemplateProperty> properties
          Deprecated.  
 
Constructor Summary
CheckTemplate()
          Deprecated.  
CheckTemplate(String key)
          Deprecated.  
 
Method Summary
 void addProperty(CheckTemplateProperty p)
          Deprecated.  
 boolean equals(Object o)
          Deprecated. Checks are equal within the same plugin.
 String getConfigKey()
          Deprecated.  
abstract  String getDescription(Locale locale)
          Deprecated.  
 IsoCategory getIsoCategory()
          Deprecated.  
 String getKey()
          Deprecated.  
abstract  String getMessage(Locale locale, String key, Object... params)
          Deprecated.  
 Priority getPriority()
          Deprecated.  
 List<CheckTemplateProperty> getProperties()
          Deprecated.  
 CheckTemplateProperty getProperty(String key)
          Deprecated.  
abstract  String getTitle(Locale locale)
          Deprecated.  
 int hashCode()
          Deprecated.  
 void setConfigKey(String configKey)
          Deprecated.  
 void setIsoCategory(IsoCategory c)
          Deprecated.  
 void setKey(String s)
          Deprecated.  
 void setPriority(Priority p)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected String key
Deprecated. 

configKey

protected String configKey
Deprecated. 

priority

protected Priority priority
Deprecated. 

isoCategory

protected IsoCategory isoCategory
Deprecated. 

properties

protected List<CheckTemplateProperty> properties
Deprecated. 
Constructor Detail

CheckTemplate

public CheckTemplate(String key)
Deprecated. 

CheckTemplate

public CheckTemplate()
Deprecated. 
Method Detail

getKey

public String getKey()
Deprecated. 

setKey

public void setKey(String s)
Deprecated. 

getPriority

public Priority getPriority()
Deprecated. 

setPriority

public void setPriority(Priority p)
Deprecated. 

getIsoCategory

public IsoCategory getIsoCategory()
Deprecated. 

setIsoCategory

public void setIsoCategory(IsoCategory c)
Deprecated. 

getConfigKey

public String getConfigKey()
Deprecated. 

setConfigKey

public void setConfigKey(String configKey)
Deprecated. 

getTitle

public abstract String getTitle(Locale locale)
Deprecated. 

getDescription

public abstract String getDescription(Locale locale)
Deprecated. 

getMessage

public abstract String getMessage(Locale locale,
                                  String key,
                                  Object... params)
Deprecated. 

getProperties

public List<CheckTemplateProperty> getProperties()
Deprecated. 

addProperty

public void addProperty(CheckTemplateProperty p)
Deprecated. 

getProperty

public CheckTemplateProperty getProperty(String key)
Deprecated. 

equals

public final boolean equals(Object o)
Deprecated. 
Checks are equal within the same plugin. Two plugins can have two different checks with the same key.

Overrides:
equals in class Object

hashCode

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


Copyright © 2009-2011 SonarSource. All Rights Reserved.