com.recursivechaos.stoopbot.StoopbotScraperApplication.java Source code

Java tutorial

Introduction

Here is the source code for com.recursivechaos.stoopbot.StoopbotScraperApplication.java

Source

/**
 * Created by Andrew Bell 7/12/2015
 * www.recursivechaos.com
 * andrew@recursivechaos.com
 * Licensed under MIT License 2015. See license.txt for details.
 */

package com.recursivechaos.stoopbot;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class StoopbotScraperApplication implements CommandLineRunner {

    private final Logger log = LoggerFactory.getLogger(StoopbotScraperApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(StoopbotScraperApplication.class, args);
    }

    @Override
    public void run(String... strings) throws Exception {
        log.info("Application started.");
    }
}