Manuel Huber
Manuel Huber

Reputation: 121

Sonar plugin development: sensor/decorator constructor parameters

is there a list of valid parameters for Sensors and Decorators that I can get from Sonar?
I've seen a few get a FileSystem object or ResourcePerspectives. What exactly is the rule? Can I just put MyCrazyClass in the constructor and Sonar will figure it out?

Thank you!

Upvotes: 1

Views: 166

Answers (1)

Johannes Zink
Johannes Zink

Reputation: 495

As far as I know, there is no list with valid parameters for Sensor/Decorator Constructors.

If your MyCrazyClass class implements the interface BatchComponent Sonar will figure it out.

Since 5.2 BatchSide.

Upvotes: 1

Related Questions