public class CommandInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CMD_ADD |
static String |
CMD_DOWNLOAD |
static String |
CMD_INIT |
static String |
CMD_INSTALL |
static String |
CMD_LIST |
static String |
CMD_REMOVE |
static String |
CMD_RESET |
static String |
CMD_SHOW |
static String |
CMD_UNINSTALL |
static String |
CMD_UNKNOWN |
Integer |
exitCode |
String |
id |
List<MessageInfo> |
messages |
String |
name |
List<PackageInfo> |
packages |
String |
param |
boolean |
pending |
Constructor and Description |
---|
CommandInfo() |
CommandInfo(String cmdType) |
Modifier and Type | Method and Description |
---|---|
void |
log(boolean debug)
Log content of the command info
|
MessageInfo |
newMessage() |
MessageInfo |
newMessage(Exception e) |
MessageInfo |
newMessage(int level,
Exception e) |
MessageInfo |
newMessage(int level,
String message) |
public static final String CMD_UNKNOWN
public static final String CMD_LIST
public static final String CMD_ADD
public static final String CMD_INSTALL
public static final String CMD_UNINSTALL
public static final String CMD_REMOVE
public static final String CMD_RESET
public static final String CMD_DOWNLOAD
public static final String CMD_INIT
public static final String CMD_SHOW
public String name
public String param
public Integer exitCode
public String id
public boolean pending
public List<MessageInfo> messages
public List<PackageInfo> packages
public CommandInfo()
public CommandInfo(String cmdType)
public MessageInfo newMessage()
MessageInfo
added to messagespublic MessageInfo newMessage(int level, String message)
MessageInfo
added to messagespublic MessageInfo newMessage(Exception e)
MessageInfo
added to messagespublic MessageInfo newMessage(int level, Exception e)
MessageInfo
added to messagespublic void log(boolean debug)
Copyright © 2014 Nuxeo SA. All rights reserved.