public static class JBIManagementMessage.TaskResultInfo extends Object
| Constructor and Description |
|---|
JBIManagementMessage.TaskResultInfo()
default constructor
|
JBIManagementMessage.TaskResultInfo(String taskId,
String result,
String msgType,
List msgInfoList,
List exInfoList)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
List |
getAllFormattedMessages(boolean isCompFormat)
return formatted messages.
|
List |
getExceptionInfoList()
returns exception info list
|
String |
getExceptionMessage()
returns exception message
|
protected String |
getFormatted1stExpMessage(boolean isCompFormat,
String formattedMsg)
formats the indentation of the formattedMsg as framework or component message indentation
|
protected String |
getFormatted1stMessage(boolean isCompFormat,
String formattedMsg)
formats the indentation of the formattedMsg as framework or component message indentation
|
protected String |
getFormatted2ndExpMessage(boolean isCompFormat,
String formattedMsg)
formats the indentation of the formattedMsg as framework or component message indentation
|
protected String |
getFormatted2ndMessage(boolean isCompFormat,
String formattedMsg)
formats the indentation of the formattedMsg as framework or component message indentation
|
protected List |
getFormattedExceptionMessages(List exList,
String msgType,
boolean isCompFormat,
boolean printExAsMainMsg) |
protected String |
getFormattedMsgWithType(String msgType,
String formattedMsg)
returns the msg formatted as
|
List |
getFormattedStacktraces()
return formatted stacktraces.
|
protected List |
getFormattedStatusMessages(List msgInfoList,
String msgType,
boolean isCompFormat) |
String |
getMessage()
returns the status msg if present else returns the exception message
|
String |
getMessageType()
returns message type
|
String |
getResult()
returns result
|
String |
getStackTrace()
return stacktrace
|
String |
getStatusMessage()
return status message
|
List |
getStatusMessageInfoList()
returns message info list
|
String |
getTaskId()
returns id
|
boolean |
isException()
check if this message is from exception
|
void |
setExceptionInfoList(List expInfoList) |
void |
setMessageType(String msgType) |
void |
setResult(String result) |
void |
setStatusMessageInfoList(List msgInfoList) |
void |
setTaskId(String taskId) |
public JBIManagementMessage.TaskResultInfo()
public String getTaskId()
public void setTaskId(String taskId)
public String getResult()
public void setResult(String result)
public String getMessageType()
public void setMessageType(String msgType)
public List getStatusMessageInfoList()
public void setStatusMessageInfoList(List msgInfoList)
public List getExceptionInfoList()
public void setExceptionInfoList(List expInfoList)
public String getStatusMessage()
public String getExceptionMessage()
public String getMessage()
public boolean isException()
public String getStackTrace()
protected String getFormattedMsgWithType(String msgType, String formattedMsg)
formattedMsg - msgType - message type from one of ERROR, WARNING, INFOprotected String getFormatted1stMessage(boolean isCompFormat, String formattedMsg)
isCompFormat - true for component indentation, false for framework indentationformattedMsg - message that is formatted with low level format.protected String getFormatted2ndMessage(boolean isCompFormat, String formattedMsg)
isCompFormat - true for component indentation, false for framework indentationformattedMsg - message that is formatted with low level format.protected String getFormatted1stExpMessage(boolean isCompFormat, String formattedMsg)
isCompFormat - true for component indentation, false for framework indentationformattedMsg - message that is formatted with low level format.protected String getFormatted2ndExpMessage(boolean isCompFormat, String formattedMsg)
isCompFormat - true for component indentation, false for framework indentationformattedMsg - message that is formatted with low level format.protected List getFormattedStatusMessages(List msgInfoList, String msgType, boolean isCompFormat)
msgInfoList - msgType - isCompFormat - protected List getFormattedExceptionMessages(List exList, String msgType, boolean isCompFormat, boolean printExAsMainMsg)
exList - msgType - isCompFormat - printExAsMainMsg - public List getAllFormattedMessages(boolean isCompFormat)
isCompFormat - public List getFormattedStacktraces()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.