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

tgtools.web.develop.command.Command Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package tgtools.web.develop.command;

import tgtools.exceptions.APPErrorException;

/**
 * @author 田径
 * @Title
 * @Description
 * @date 16:56
 */
public interface Command {
    /**
     * 命令类型(分组)
     * @return
     */
    String getType();

    /**
     * 命令名称
     * @return
     */
    String getName();

    /**
     * 执行命令入口
     * @param params
     * @return
     * @throws APPErrorException
     */
    Object excute(Object... params) throws APPErrorException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy