kevinohara80/sfdc-trigger-framework — pull request #2 by loganm (2014-01-21 00:39:31+00:00)
Title: Changed bypassHandler related methods to static

The methods to manipulate the bypassHandlers list were instance methods, which meant you had to have an instance of TriggerHandler to touch them.

That's not a problem inside a TriggerHandler instance. You can just call this.bypass(...). But it's a bit messy outside of a TriggerHandler instance. You have to create a TriggerHandler instance first, new TriggerHandler().bypass(...).

I made the methods static and from anywhere (inside or outside a TriggerHandler instance) I call TriggerHandler.bypass(...).