// Path: src/main/java/org/graylog/collector/inputs/InputService.java
// public abstract class InputService extends AbstractService implements Input {
// }


import com.google.inject.assistedinject.Assisted;
import com.typesafe.config.Config;
import org.graylog.collector.config.ConfigurationUtils;
import org.graylog.collector.inputs.InputConfiguration;
import org.graylog.collector.inputs.InputService;
import javax.inject.Inject;
import javax.validation.constraints.NotNull;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
 * This file is part of Graylog.
 *
 * Graylog is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Graylog is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Graylog.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.graylog.collector.inputs.eventlog;



public class WindowsEventlogInputConfiguration extends InputConfiguration {

    public interface Factory extends InputConfiguration.Factory<WindowsEventlogInputConfiguration> {
        @Override
        WindowsEventlogInputConfiguration create(String id, Config config);
    }

    @NotNull
    private final String sourceName;

    private final long pollInterval;

    private WindowsEventlogInput.Factory inputFactory;

    @Inject
// Path: src/main/java/org/graylog/collector/inputs/InputService.java
// public abstract class InputService extends AbstractService implements Input {
// }


// Path: src/main/java/org/graylog/collector/inputs/eventlog/WindowsEventlogInputConfiguration.java
import com.google.inject.assistedinject.Assisted;
import com.typesafe.config.Config;
import org.graylog.collector.config.ConfigurationUtils;
import org.graylog.collector.inputs.InputConfiguration;
import org.graylog.collector.inputs.InputService;
import javax.inject.Inject;
import javax.validation.constraints.NotNull;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;

/**
 * This file is part of Graylog.
 *
 * Graylog is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Graylog is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Graylog.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.graylog.collector.inputs.eventlog;



public class WindowsEventlogInputConfiguration extends InputConfiguration {

    public interface Factory extends InputConfiguration.Factory<WindowsEventlogInputConfiguration> {
        @Override
        WindowsEventlogInputConfiguration create(String id, Config config);
    }

    @NotNull
    private final String sourceName;

    private final long pollInterval;

    private WindowsEventlogInput.Factory inputFactory;

    @Inject
    public WindowsEventlogInputConfiguration(@Assisted String id,