Inspector sets

Inspector is a Java class with one or more methods annotated with @Inspect annotation (FIXME - Link). Inspectors and inspector methods shall follow the same rules are Hammurapi Rules rule classes and methods with the following differences:

  • Inspectors use @Inspect instead of @Infer annotation.
  • The review framework injects into observations “reportedBy” inspector. Source and message are injected if they are not set explicitly by the inspector method.

Inspector set is a collection of inspectors. Inspector sets are created and edited with Hammurapi Review Editor plug-in.

Inspectors sets from Hammurapi 5.x can be migrated to the new format using com.hammurapi.review.util.Migrator utility class.

Last modified: 2009/12/15 08:43 by Pavel Vlasov
   
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Hammurapi Group