blob: b4fe6ce363df535e4268e3407c38aeeaf31afbed [file]
h1. custom
h2. Purpose
A custom trigger that executes based on the result of a custom @Trigger@ implementation
h2. Examples
{code}
class MyJob {
static triggers = {
custom name:'customTrigger', triggerClass:MyTriggerClass, myParam:myValue, myAnotherParam:myAnotherValue
}
void execute() {
println "Job run!"
}
}
{code}