throw new IllegalStateException("No schedule has been defined for job '" + identifier + "'");
jobTrigger = new CronJobTrigger(schedule);
// Read options
Node nodes = XPathHelper.select(config, "m:options", xPathProcessor);
OptionsHelper options = OptionsHelper.fromXml(nodes, xPathProcessor);
for (Map.Entry<String, Map<Environment, List<String>>> entry : options.getOptions().entrySet()) {
String key = entry.getKey();
Map<Environment, List<String>> environments = entry.getValue();
for (Environment environment : environments.keySet()) {
List<String> values = environments.get(environment);
if (values.size() == 1)