Running advisors selectively
Is it possible, when an operation takes place, to run only some of the
advisors declared for this operation?
For example in a project with *.java files and *.doc files, when I deliver
only doc files I should like not to run the "Prohibit Unused Import". Is
there any way to do that?
Thanks
Pascal
advisors declared for this operation?
For example in a project with *.java files and *.doc files, when I deliver
only doc files I should like not to run the "Prohibit Unused Import". Is
there any way to do that?
Thanks
Pascal
2 answers
No. If you want to ignore an advisor, the best you can do is overrule it
after it's been run.
- Jared
Pascal wrote:
after it's been run.
- Jared
Pascal wrote:
Is it possible, when an operation takes place, to run only some of the
advisors declared for this operation?
For example in a project with *.java files and *.doc files, when I deliver
only doc files I should like not to run the "Prohibit Unused Import". Is
there any way to do that?
Thanks
Pascal
Jared,
Would it make sense to you to consider such question as a future
enhancement?
Actually, it would make sense to be able to directly describe/define
some filters at the advisor definition level for example to:
1- Avoid any unnecessary check
2- Avoid any unexpected comment like: "Prohibit Unused Import" OK
when I only delivered some html doc...
Thanks
Would it make sense to you to consider such question as a future
enhancement?
Actually, it would make sense to be able to directly describe/define
some filters at the advisor definition level for example to:
1- Avoid any unnecessary check
2- Avoid any unexpected comment like: "Prohibit Unused Import" OK
when I only delivered some html doc...
Thanks