public class CommandOperation extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ERR_MSGS |
String |
name |
static String |
ROOT_OBJ |
Constructor and Description |
---|
CommandOperation(String operationName,
Object metaData) |
public final String name
public static final String ERR_MSGS
public static final String ROOT_OBJ
public boolean getBoolean(String key, boolean def)
public void setCommandData(Object o)
public void unknownOperation()
public List<String> getStrs(String key, List<String> def)
public boolean hasError()
public void addError(String s)
public Map<String,Object> getValuesExcluding(String... keys)
public static List<Map> captureErrors(List<CommandOperation> ops)
public static List<CommandOperation> parse(Reader rdr) throws IOException
IOException
public CommandOperation getCopy()
public static List<CommandOperation> readCommands(Iterable<ContentStream> streams, SolrQueryResponse resp) throws IOException
IOException
public static List<CommandOperation> clone(List<CommandOperation> ops)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.