JobDetail jobDetail = SchedulerProvider.scheduler.getJobDetail(jobKey);
System.out.println("\t\tjob name:"+jobKey);
System.out.println("\t\t---------begin to print all job triggers-------------");
JobDataMap jobDataMap = jobDetail.getJobDataMap();
for(Object key:jobDataMap.keySet()){
System.out.println(key+":"+jobDataMap.getString(key.toString()));
}
for(Trigger trig:SchedulerProvider.scheduler.getTriggersOfJob(jobKey)){
TriggerState trigState = SchedulerProvider.scheduler.getTriggerState(trig.getKey());
System.out.println("\t\t\ttrigger "+trig.getKey()+" state:"+trigState);