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

cn.sylinx.hbatis.plugin.debug.DebugPlugin Maven / Gradle / Ivy

The newest version!
package cn.sylinx.hbatis.plugin.debug;

import cn.sylinx.hbatis.plugin.IPlugin;

public class DebugPlugin implements IPlugin {

	private boolean debug = false;

	public void setDebug(boolean debug) {
		this.debug = debug;
	}

	@Override
	public boolean start(Object... objects) {
		DebugWrapper.ME.setDebug(debug);
		return true;
	}

	@Override
	public boolean stop() {
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy