|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.application.startup.messages.RecommendationHelper
public class RecommendationHelper
Processes array of recommendations to arrive at a set of reasonable suggestions best tailored to match the user's situation.
Constructor Summary | |
---|---|
RecommendationHelper()
|
Method Summary | |
---|---|
static java.lang.String |
ConvertExceptionToRecommendation(XPException te)
Returns a recommendation string for an exception |
static java.lang.String |
ConvertExceptionToRecommendationFromShortName(java.lang.String exceptionName,
java.lang.String messageStr,
java.lang.String secondLine,
XPException te)
Returns a recommendation string for an exception's shortname, more reusable |
static java.lang.String |
ConvertExceptionToShortString(XPException te,
boolean getMessage,
boolean getSecondLine)
Converts exception to a short reasonable string |
static java.lang.String |
ConvertStackTraceToShortString(java.lang.String stackTrace,
boolean getSecondLine)
Converts stack trace string to a short reasonable string |
static XPArrayList |
getList(int taskstepid,
Platform platformid,
PT_STARTUP_RESULTCODES retval,
StartupTaskMessage[] m_diag)
Implements lookup method that locates the most appropriate recommendation(s) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecommendationHelper()
Method Detail |
---|
public static XPArrayList getList(int taskstepid, Platform platformid, PT_STARTUP_RESULTCODES retval, StartupTaskMessage[] m_diag)
taskstepid
- platformid
- retval
- m_diag
-
public static final java.lang.String ConvertExceptionToShortString(XPException te, boolean getMessage, boolean getSecondLine)
te
-
public static final java.lang.String ConvertStackTraceToShortString(java.lang.String stackTrace, boolean getSecondLine)
te
-
public static final java.lang.String ConvertExceptionToRecommendation(XPException te)
te
-
public static final java.lang.String ConvertExceptionToRecommendationFromShortName(java.lang.String exceptionName, java.lang.String messageStr, java.lang.String secondLine, XPException te)
te
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |