(Quick Reference)

custom

Purpose

A custom trigger that executes based on the result of a custom Trigger implementation

Examples

class MyJob {
  static triggers = {
    custom name:'customTrigger', triggerClass:MyTriggerClass, myParam:myValue, myAnotherParam:myAnotherValue
  }

def execute() { println "Job run!" } }