// Path: core/src/main/java/io/appflate/restmock/logging/RESTMockLogger.java
// public interface RESTMockLogger {
// 
//     void log(String message);
// 
//     void error(String errorMessage);
// 
//     void error(String errorMessage, Throwable exception);
// }


import io.appflate.restmock.logging.RESTMockLogger;
import java.io.IOException;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
/*
 * Copyright (C) 2016 Appflate.io
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.appflate.restmock;


public class RESTMockServerStarter {

    public static final int KEEP_ALIVE_TIME = 60;

    public static void startSync(final RESTMockFileParser mocksFileParser) {
        startSync(mocksFileParser, null,
            new RESTMockOptions.Builder().build());
    }

    public static void startSync(final RESTMockFileParser mocksFileParser, RESTMockOptions options) {
        startSync(mocksFileParser, null, options);
    }

// Path: core/src/main/java/io/appflate/restmock/logging/RESTMockLogger.java
// public interface RESTMockLogger {
// 
//     void log(String message);
// 
//     void error(String errorMessage);
// 
//     void error(String errorMessage, Throwable exception);
// }


// Path: core/src/main/java/io/appflate/restmock/RESTMockServerStarter.java
import io.appflate.restmock.logging.RESTMockLogger;
import java.io.IOException;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/*
 * Copyright (C) 2016 Appflate.io
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.appflate.restmock;


public class RESTMockServerStarter {

    public static final int KEEP_ALIVE_TIME = 60;

    public static void startSync(final RESTMockFileParser mocksFileParser) {
        startSync(mocksFileParser, null,
            new RESTMockOptions.Builder().build());
    }

    public static void startSync(final RESTMockFileParser mocksFileParser, RESTMockOptions options) {
        startSync(mocksFileParser, null, options);
    }

    public static void startSync(final RESTMockFileParser mocksFileParser, final RESTMockLogger logger) {