Ugur Ugur - 6 months ago 12
Java Question

Quartz JobDetail missing method

I have an application that depends Quartz 1.6.4 version. I upgraded the Quartz to 2.1.6, then comes with compile error:

JobDetail class changed to the interface in new release and does not support getGroup() method any more.

How can I solve this problem?

JobDetail jobDetail;
String answer = jobDetail.getKey().getGroup();