ExtensionUninstaller API Technical Documentation
ExtuninstallLogItem Object
This is the object that holds the data for individual log elements.
Properties- Integer action
- Array children
- Integer errorCode
- String errorMsg
- String message
- Integer status
- String type
- Constructor ExtuninstallLogItem ( Integer action, Integer status, String message, Integer errorCode, String errorMsg )
- ExtuninstallLogItem addChild ( ExtuninstallLogItem logItem )
- Boolean hasError ( )
- Boolean hasWarning ( )
Property Details
Integer action
The current action that is being logged.Possible values are defined in the ExtUninstallLogger object as
ADD_ACTION, EDIT_ACTION, EXECUTE_ACTION, READ_ACTION, REMOVE_ACTION, UNINSTALL_ACTION and WRITE_ACTION
Array children
Returns an array of child ExtuninstallLogItem objects for this log item.Integer errorCode
The error code for this log item, or null.String errorMsg
Returns the error message for this log item, or null.String message
The short message that should describe the action.Integer status
The current status for this log item.Possible values are defined in theExtUninstallLogger object as
EMPTY_STATUS, FAIL_STATUS, SUCCESS_STATUS and WARN_STATUS
String type (READ ONLY)
Returns "ExtuninstallLogItem"Method Details
Contructor ExtuninstallLogItem ( Integer action, Integer status, String message, Integer errorCode, String errorMsg )
Creates the object.- action:
- Action of the log item. Values defined in the ExtUninstallLogger object
- status:
- End status of the log item. Values defined in the ExtUninstallLogger object
- message:
- String that should describe the log's action
- errorCode:
- Error code number
- errorMsg:
- Error message
ExtuninstallLogItem addChild ( ExtuninstallLogItem logItem )
Appends a new child log item to this log item.Returns the log item added.
- ExtuninstallLogItem:
- Log item to add
