// Path: core/src/main/java/de/otto/jlineup/exceptions/ValidationError.java
// public class ValidationError extends RuntimeException {
//     public ValidationError(String message) {
//         super("Error during job config validation:\n" + message + "\nPlease check your jlineup job config.");
//     }
// }


import de.otto.jlineup.exceptions.ValidationError;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
import java.util.stream.Collectors;
import static java.lang.invoke.MethodHandles.lookup;
package de.otto.jlineup.config;




public class JobConfigValidator {

    private final static Logger LOG = LoggerFactory.getLogger(lookup().lookupClass());

    public static void validateJobConfig(JobConfig jobConfig) {

        //Check urls
        if (jobConfig.urls == null || jobConfig.urls.isEmpty()) {
// Path: core/src/main/java/de/otto/jlineup/exceptions/ValidationError.java
// public class ValidationError extends RuntimeException {
//     public ValidationError(String message) {
//         super("Error during job config validation:\n" + message + "\nPlease check your jlineup job config.");
//     }
// }


// Path: core/src/main/java/de/otto/jlineup/config/JobConfigValidator.java
import de.otto.jlineup.exceptions.ValidationError;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
import java.util.stream.Collectors;
import static java.lang.invoke.MethodHandles.lookup;

package de.otto.jlineup.config;




public class JobConfigValidator {

    private final static Logger LOG = LoggerFactory.getLogger(lookup().lookupClass());

    public static void validateJobConfig(JobConfig jobConfig) {

        //Check urls
        if (jobConfig.urls == null || jobConfig.urls.isEmpty()) {
            throw new ValidationError("No URLs configured.");