Package org.nuxeo.launcher.info
Class CommandInfo
- java.lang.Object
-
- org.nuxeo.launcher.info.CommandInfo
-
public class CommandInfo extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description CommandInfo()
CommandInfo(String cmdType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(boolean debug)
Log content of the command infoMessageInfo
newMessage()
MessageInfo
newMessage(int level, Exception e)
MessageInfo
newMessage(int level, String message)
MessageInfo
newMessage(Exception e)
-
-
-
Field Detail
-
CMD_UNKNOWN
public static final String CMD_UNKNOWN
- See Also:
- Constant Field Values
-
CMD_LIST
public static final String CMD_LIST
- See Also:
- Constant Field Values
-
CMD_ADD
public static final String CMD_ADD
- See Also:
- Constant Field Values
-
CMD_INSTALL
public static final String CMD_INSTALL
- See Also:
- Constant Field Values
-
CMD_UNINSTALL
public static final String CMD_UNINSTALL
- See Also:
- Constant Field Values
-
CMD_REMOVE
public static final String CMD_REMOVE
- See Also:
- Constant Field Values
-
CMD_RESET
public static final String CMD_RESET
- See Also:
- Constant Field Values
-
CMD_DOWNLOAD
public static final String CMD_DOWNLOAD
- Since:
- 5.7
- See Also:
- Constant Field Values
-
CMD_INIT
public static final String CMD_INIT
- See Also:
- Constant Field Values
-
CMD_SHOW
public static final String CMD_SHOW
- Since:
- 5.7
- See Also:
- Constant Field Values
-
name
public String name
-
param
public String param
-
exitCode
public Integer exitCode
-
id
public String id
-
pending
public boolean pending
-
messages
public List<MessageInfo> messages
-
packages
public List<PackageInfo> packages
-
-
Constructor Detail
-
CommandInfo
public CommandInfo()
-
CommandInfo
public CommandInfo(String cmdType)
-
-
Method Detail
-
newMessage
public MessageInfo newMessage()
- Returns:
- new
MessageInfo
added to messages - Since:
- 5.7
-
newMessage
public MessageInfo newMessage(int level, String message)
- Returns:
- new
MessageInfo
added to messages - Since:
- 5.7
-
newMessage
public MessageInfo newMessage(Exception e)
- Returns:
- new
MessageInfo
added to messages - Since:
- 5.7
-
newMessage
public MessageInfo newMessage(int level, Exception e)
- Returns:
- new
MessageInfo
added to messages - Since:
- 5.7
-
log
public void log(boolean debug)
Log content of the command info- Since:
- 5.7
-
-