/*
 *     Babble
 *   Copyright (C) 2014 Viciouss <http://www.doncarnage.de>
 *
 *   This program is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU Lesser General Public
 *   License as published by the Free Software Foundation; either
 *   version 3 of the License, or (at your option) any later version.
 *
 *   This program 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
 *   Lesser General Public License for more details.
 *
 *   You should have received a copy of the GNU Lesser General Public
 *   License along with this library; if not, write to the Free Software
 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
 *   USA
 */

package de.doncarnage.minecraft.babble;

import java.io.File;

import de.doncarnage.minecraft.babble.errorhandling.BabbleMessageHandler;

/**
 * This class provides different configurable details that will be used by the
 * service.
 * 
 * @author Viciouss
 * 
 */
public class BabbleContext {

	private File pathToConfigFiles;
	private boolean sendMessagesToServerOps;
	private BabbleMessageHandler messageHandler;

	public File getPathToConfigFiles() {
		return pathToConfigFiles;
	}

	public BabbleContext setPathToConfigFiles(File pathToConfigFiles) {
		this.pathToConfigFiles = pathToConfigFiles;
		return this;
	}

	public boolean doSendMessagesToServerOps() {
		return sendMessagesToServerOps;
	}

	public void sendMessagesToServerOps(boolean sendMessagesToServerOps) {
		this.sendMessagesToServerOps = sendMessagesToServerOps;
	}

	public BabbleMessageHandler getMessageHandler() {
		return messageHandler;
	}

	public void setMessageHandler(BabbleMessageHandler messageHandler) {
		this.messageHandler = messageHandler;
	}

}
