case LIGHTWEIGHT:
return org.drools.runtime.conf.QueryListenerOption.LIGHTWEIGHT;
}
}
if (option instanceof TimerJobFactoryOption) {
TimerJobFactoryOption kieOption = (TimerJobFactoryOption)option;
return org.drools.runtime.conf.TimerJobFactoryOption.get(kieOption.getTimerJobType());
}
throw new UnsupportedOperationException("Unknown option " + option);
}