gu.dtalk.CmdItem Maven / Gradle / Ivy
The newest version!
package gu.dtalk;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.parser.ParserConfig;
import com.alibaba.fastjson.util.TypeUtils;
import com.google.common.base.Function;
import com.google.common.base.MoreObjects;
import com.google.common.collect.Collections2;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import gu.dtalk.exception.CmdExecutionException;
import gu.dtalk.exception.InteractiveCmdStartException;
import static com.google.common.base.Preconditions.*;
/**
* 设备命令条目
* @author guyadong
*
*/
public class CmdItem extends BaseItem {
private static final Function> TO_OPTION = new Function>(){
@SuppressWarnings("unchecked")
@Override
public BaseOption
© 2015 - 2025 Weber Informatics LLC | Privacy Policy