This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 24748 - [audit] split rules into conditions and actions
Summary: [audit] split rules into conditions and actions
Status: RESOLVED WONTFIX
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Other Other
: P2 blocker (vote)
Assignee: nczempin
URL:
Keywords:
Depends on:
Blocks: 24505
  Show dependency tree
 
Reported: 2002-06-13 20:29 UTC by nczempin
Modified: 2005-07-14 12:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nczempin 2002-06-13 20:29:39 UTC
The current way of thinking in audit is one of rules that are violated. That 
is too specific.
As an example, classes should either become final or 
have certain restrictions to be inheritable. If I just want a report which 
classes are inheritable and which ones are final, the audit module should 
be able to provide that. In that context, a rule "violation" makes no 
sense.

Also, certain rules may report more than once. With a 
"violation" of e. g. "don't import packages", only the first one would be 
reported. However, perhaps you'd like to see *all* places where this 
takes place.

So a rule should be split into a Condition and an Action 
part (perhaps I can find a better name to avoid the conceptual name clash 
with swing/openapi Actions), and a client can choose whether to look only 
for the first match of a condition or all of them.
Comment 1 nczempin 2005-07-14 12:35:46 UTC
audit project seems dead.