org.sonar.check
Annotation Type Check


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

Since:
2.1

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

Element Detail

isoCategory

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

key

public abstract java.lang.String key
The default key is the class name.

Default:
""

bundle

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

Default:
""

title

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

Default:
""

description

public abstract java.lang.String description
The check description, optional.

Default:
""

priority

public abstract Priority priority
Default priority.

Default:
org.sonar.check.Priority.MAJOR


Copyright © 2009-2010 SonarSource SA. All Rights Reserved.