Ugur Ugur - 3 months ago 6x
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();