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 java.lang.Object

Since:
2.1 (experimental)

Field Summary
protected  java.lang.String configKey
          Deprecated.  
protected  IsoCategory isoCategory
          Deprecated.  
protected  java.lang.String key
          Deprecated.  
protected  Priority priority
          Deprecated.  
protected  java.util.List<CheckTemplateProperty> properties
          Deprecated.  
 
Constructor Summary
CheckTemplate()
          Deprecated.  
CheckTemplate(java.lang.String key)
          Deprecated.  
 
Method Summary
 void addProperty(CheckTemplateProperty p)
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated. Checks are equal within the same plugin.
 java.lang.String getConfigKey()
          Deprecated.  
abstract  java.lang.String getDescription(java.util.Locale locale)
          Deprecated.  
 IsoCategory getIsoCategory()
          Deprecated.  
 java.lang.String getKey()
          Deprecated.  
abstract  java.lang.String getMessage(java.util.Locale locale, java.lang.String key, java.lang.Object... params)
          Deprecated.  
 Priority getPriority()
          Deprecated.  
 java.util.List<CheckTemplateProperty> getProperties()
          Deprecated.  
 CheckTemplateProperty getProperty(java.lang.String key)
          Deprecated.  
abstract  java.lang.String getTitle(java.util.Locale locale)
          Deprecated.  
 int hashCode()
          Deprecated.  
 void setConfigKey(java.lang.String configKey)
          Deprecated.  
 void setIsoCategory(IsoCategory c)
          Deprecated.  
 void setKey(java.lang.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 java.lang.String key
Deprecated. 

configKey

protected java.lang.String configKey
Deprecated. 

priority

protected Priority priority
Deprecated. 

isoCategory

protected IsoCategory isoCategory
Deprecated. 

properties

protected java.util.List<CheckTemplateProperty> properties
Deprecated. 
Constructor Detail

CheckTemplate

public CheckTemplate(java.lang.String key)
Deprecated. 

CheckTemplate

public CheckTemplate()
Deprecated. 
Method Detail

getKey

public java.lang.String getKey()
Deprecated. 

setKey

public void setKey(java.lang.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 java.lang.String getConfigKey()
Deprecated. 

setConfigKey

public void setConfigKey(java.lang.String configKey)
Deprecated. 

getTitle

public abstract java.lang.String getTitle(java.util.Locale locale)
Deprecated. 

getDescription

public abstract java.lang.String getDescription(java.util.Locale locale)
Deprecated. 

getMessage

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

getProperties

public java.util.List<CheckTemplateProperty> getProperties()
Deprecated. 

addProperty

public void addProperty(CheckTemplateProperty p)
Deprecated. 

getProperty

public CheckTemplateProperty getProperty(java.lang.String key)
Deprecated. 

equals

public final boolean equals(java.lang.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 java.lang.Object

hashCode

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


Copyright © 2009-2010 SonarSource. All Rights Reserved.