org.sonar.check
Annotation Type Check


Deprecated. since 2.3. Use @Rule

@Retention(value=RUNTIME)
@Target(value=TYPE)
@Deprecated
public @interface Check

Since:
2.1 (experimental)

Required Element Summary
 IsoCategory isoCategory
          Deprecated. Will probably be deprecated and replaced by tags in version 2.2
 
Optional Element Summary
 String bundle
          Deprecated. The path to resource bundles (optional).
 String description
          Deprecated. The check description, optional.
 String key
          Deprecated. The default key is the class name.
 Priority priority
          Deprecated. Default priority.
 String title
          Deprecated. The check title.
 

Element Detail

isoCategory

public abstract IsoCategory isoCategory
Deprecated. 
Will probably be deprecated and replaced by tags in version 2.2

key

public abstract String key
Deprecated. 
The default key is the class name.

Default:
""

bundle

public abstract String bundle
Deprecated. 
The path to resource bundles (optional). If not set, then it equals the class name.

Default:
""

title

public abstract String title
Deprecated. 
The check title. If not defined, then the title is the key

Default:
""

description

public abstract String description
Deprecated. 
The check description, optional.

Default:
""

priority

public abstract Priority priority
Deprecated. 
Default priority.

Default:
org.sonar.check.Priority.MAJOR


Copyright © 2009-2010 SonarSource. All Rights Reserved.