/*
 * Copyright (C) 2011 Thomas Akehurst
 *
 * 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 com.github.tomakehurst.wiremock.core;

import java.util.List;

import com.github.tomakehurst.wiremock.common.FileSource;
import com.github.tomakehurst.wiremock.common.HttpsSettings;
import com.github.tomakehurst.wiremock.common.Notifier;
import com.github.tomakehurst.wiremock.common.ProxySettings;
import com.github.tomakehurst.wiremock.http.CaseInsensitiveKey;

public interface Options {

    public static final int DEFAULT_PORT = 8080;
    public static final String DEFAULT_BIND_ADDRESS = "0.0.0.0";

    int portNumber();
    HttpsSettings httpsSettings();
    boolean browserProxyingEnabled();
    ProxySettings proxyVia();
    FileSource filesRoot();
    Notifier notifier();
    boolean requestJournalDisabled();
    Integer maxEntriesRequestJournal();
    public String bindAddress();
    List<CaseInsensitiveKey> matchingHeaders();
    public String proxyUrl();
    public boolean shouldPreserveHostHeader();
    String proxyHostHeader();
}

@@ -964,16 +964,141 @@
 veKey;%0A%0A
+/**%0A * Options for running wiremock. More information on most options can be found in the manual (Stand-Alone operation)%0A */%0A
 public i
@@ -1240,25 +1240,174 @@
     
-int portNumber();
+/**%0A     * @return Port number on which wiremock is listening%0A     */%0A    int portNumber();%0A%0A    /**%0A     * @return Settings for HTTPS connections to wiremock%0A     */
 %0A   
@@ -1442,364 +1442,1274 @@
 ();%0A
+%0A
     
-boolean browserProxyingEnabled();%0A    ProxySettings proxyVia();%0A    FileSource filesRoot();%0A    Notifier notifier();%0A    boolean requestJournalDisabled();%0A    Integer maxEntriesRequestJournal();%0A    public String bindAddress();%0A    List%3CCaseInsensitiveKey%3E matchingHeaders();%0A    public String proxyUrl();%0A    public boolean shouldPreserveHostHeader();
+/**%0A     * @return File source that supplies initial configuration files for wiremock.%0A     */%0A    FileSource filesRoot();%0A%0A    /**%0A     * @return Logger for warnings and errors%0A     */%0A    Notifier notifier();%0A%0A    /**%0A     * @return true if request journal is disabled (see manual)%0A     */%0A    boolean requestJournalDisabled();%0A%0A    /**%0A     * @return Maximum size of request journal (see manual)%0A     */%0A    Integer maxEntriesRequestJournal();%0A%0A    /**%0A     * @return Address to bind to. Determines from which hosts wiremock accepts connection requests.%0A     */%0A    public String bindAddress();%0A%0A    /**%0A     * @return Enable browser proxying (see manual)%0A     */%0A    boolean browserProxyingEnabled();%0A%0A    /**%0A     * @return Settings for browser proxying (see manual)%0A     */%0A    ProxySettings proxyVia();%0A%0A    /**%0A     * @return Headers to capture in record mode%0A     */%0A    List%3CCaseInsensitiveKey%3E matchingHeaders();%0A%0A    /**%0A     * @return Proxy all requests to another base URL. Usually used in record mode.%0A     */%0A    public String proxyUrl();%0A%0A    /**%0A     * @return Preserve host header in record mode%0A     */%0A    public boolean shouldPreserveHostHeader();%0A%0A    /**%0A     * @return Host header to use when forwarding requests in record mode.%0A     */
 %0A   

Add comments to Options interface