Sha256: 4b6768d3bae9a2e741a90117a5e56cab47b305cb369d3e12f8dab585e920551e
Contents?: true
Size: 582 Bytes
Versions: 3
Compression:
Stored size: 582 Bytes
Contents
module TrinidadScheduler class JobDetail < org.quartz.JobDetail attr_accessor :job def initialize(name, group, job_class) super() set_name name set_group group @job = job_class.new end def validate() raise org.quartz.SchedulerException.new("Job's name cannot be null", org.quartz.SchedulerException.ERR_CLIENT_ERROR) if get_name == nil raise org.quartz.SchedulerException.new("Job's group cannot be null", org.quartz.SchedulerException.ERR_CLIENT_ERROR) if get_group == nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems