NebulaTriggerHandler
Apex Trigger Framework
Install / Use
/learn @jongpie/NebulaTriggerHandlerREADME
Nebula Trigger Framework
<a href="https://githubsfdeploy.herokuapp.com" target="_blank"> <img alt="Deploy to Salesforce" src="https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/deploy.png"> </a>Features
- Implements Salesforce best practices of 1 trigger per object & logicless triggers
- The abstract class SobjectTriggerHandler.cls handles determining the current context and calling 1 of 7 protected methods - triggers only have to call the public execute() method
- Provides recursion detection/prevention by checking the list of trigger records have already been processed
- Allows triggers to be enabled/disabled both globally and individually at the org, profile and user levels (hierarchy custom setting)
- Allows framework debug statements to be enabled/disabled
- Recursion prevention: in the event that there is a recursive loop, each handler detects that it has already processed the records and skips duplicated execution
