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

cn.featherfly.hammer.tpl.SimpleExecution Maven / Gradle / Ivy

There is a newer version: 0.7.2
Show newest version

package cn.featherfly.hammer.tpl;

import cn.featherfly.common.lang.AssertIllegalArgument;

/**
 * 

* 简单查询 *

* * @author zhongj */ public class SimpleExecution implements Execution { private String execute; private Object[] params; /** * @param execute execute string * @param params params */ public SimpleExecution(String execute, Object... params) { AssertIllegalArgument.isNotEmpty(execute, "execute string"); this.execute = execute; this.params = params; } /** * 返回params * * @return params */ @Override public Object[] getParams() { return params; } /** * {@inheritDoc} */ @Override public String getExecute() { return execute; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy