All Downloads are FREE. Search and download functionalities are using the official Maven repository.

at.chrl.callbacks.util.CheckCallback Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/**
 * This file is part of ChRL Util Collection.
 * 
 * ChRL Util Collection 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.
 * 
 * ChRL Util Collection 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
 * ChRL Util Collection. If not, see .
 */
package at.chrl.callbacks.util;

import at.chrl.callbacks.Callback;
import at.chrl.callbacks.CallbackResult;

/**
 * @author Vinzynth 08.11.2014 - 02:38:07
 *
 */
public class CheckCallback implements Callback {

	@Override
	public CallbackResult beforeCall(Object obj, Object[] args) {
		return CallbackResult.newFullBlocker(true);
	}

	// @Override
	// public Class> getBaseClass() {
	// return CheckCallback.class;
	// }
}