package co.uk.jiveelection.campaign;

import java.io.IOException;

import twitter4j.TwitterException;
import co.uk.jiveelection.campaign.twit.TwitHelper;

/**
 * Main entry point for the Jive Campaign application. Sets up a continuously running loop that
 * checks the latest tweet from the named candidate, translates it to jive, then tweets it as a
 * jivebot.
 *
 */
public class App {

	public static void main(String[] args) throws TwitterException, IOException,
			InterruptedException {

		TwitHelper jivebotDavidCameron = new TwitHelper("David_Cameron", "davidjiveron");
		TwitHelper jivebotEdMiliband = new TwitHelper("Ed_Miliband", "edjiveaband");
		TwitHelper jivebotNickClegg = new TwitHelper("nick_clegg", "nickjivegg");

	}

}

package co.uk.jiveelection.campaign;

import java.io.IOException;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import twitter4j.TwitterException;
import co.uk.jiveelection.campaign.twit.TwitHelper;

/**
 * Main entry point for the Jive Campaign application. Sets up a continuously running loop that
 * checks the latest tweet from the named candidate, translates it to jive, then tweets it as a
 * jivebot.
 *
 */
@SpringBootApplication
public class App {

	public static void main(String[] args) throws TwitterException, IOException,
			InterruptedException {

		TwitHelper jivebotDavidCameron = new TwitHelper("David_Cameron", "davidjiveron");
		TwitHelper jivebotEdMiliband = new TwitHelper("Ed_Miliband", "edjiveaband");
		TwitHelper jivebotNickClegg = new TwitHelper("nick_clegg", "nickjivegg");

	}

}

Enable Spring Boot for this app
Enable Spring Boot for this app
