Audit - Rules - Portlets

Description
This group contains audit rules that look for the correct implementation of portlets within your code.

Rules:

Details

No Instance Fields In Portlets

Summary
Portlets should not declare any instance fields.

Description
This audit rule checks for the declaration of instance fields in portlets.

Example
The following field would be flagged as a violation if it occurred within a portlets:

    private int useCount;