public class CommandResult extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_COMMAND_NOT_SUPPORTED |
static String |
TYPE_ERROR |
static String |
TYPE_EXCEPTION |
static String |
TYPE_INVALID_PARAM_COUNT |
static String |
TYPE_OK |
static String |
TYPE_WARNING |
Constructor and Description |
---|
CommandResult(Exception e) |
CommandResult(String type) |
CommandResult(String type,
String msg) |
Modifier and Type | Method and Description |
---|---|
String |
getResult() |
List<Object> |
getResults() |
String |
getType() |
void |
setResults(List<Object> list) |
void |
setType(String string) |
String |
toString() |
String |
toXML() |
public static final String TYPE_OK
public static final String TYPE_ERROR
public static final String TYPE_WARNING
public static final String TYPE_INVALID_PARAM_COUNT
public static final String TYPE_COMMAND_NOT_SUPPORTED
public static final String TYPE_EXCEPTION
public CommandResult(String type)
public CommandResult(Exception e)
Copyright © 2018. All rights reserved.